1# Copyright 2015 The TensorFlow Authors. All Rights Reserved. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14# ============================================================================== 15"""TensorFlow Graph Editor. 16 17See the @{$python/contrib.graph_editor} guide. 18""" 19 20from __future__ import absolute_import 21from __future__ import division 22from __future__ import print_function 23 24# pylint: disable=wildcard-import 25from tensorflow.contrib.graph_editor.edit import * 26from tensorflow.contrib.graph_editor.reroute import * 27from tensorflow.contrib.graph_editor.select import * 28from tensorflow.contrib.graph_editor.subgraph import * 29from tensorflow.contrib.graph_editor.transform import * 30from tensorflow.contrib.graph_editor.util import * 31# pylint: enable=wildcard-import 32 33# some useful aliases 34# pylint: disable=g-bad-import-order 35from tensorflow.contrib.graph_editor import subgraph as _subgraph 36from tensorflow.contrib.graph_editor import util as _util 37# pylint: enable=g-bad-import-order 38ph = _util.make_placeholder_from_dtype_and_shape 39sgv = _subgraph.make_view 40sgv_scope = _subgraph.make_view_from_scope 41 42del absolute_import 43del division 44del print_function 45