Home | History | Annotate | Download | only in graph_editor
      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 
     17 See the @{$python/contrib.graph_editor} guide.
     18 """
     19 
     20 from __future__ import absolute_import
     21 from __future__ import division
     22 from __future__ import print_function
     23 
     24 # pylint: disable=wildcard-import
     25 from tensorflow.contrib.graph_editor.edit import *
     26 from tensorflow.contrib.graph_editor.reroute import *
     27 from tensorflow.contrib.graph_editor.select import *
     28 from tensorflow.contrib.graph_editor.subgraph import *
     29 from tensorflow.contrib.graph_editor.transform import *
     30 from tensorflow.contrib.graph_editor.util import *
     31 # pylint: enable=wildcard-import
     32 
     33 # some useful aliases
     34 # pylint: disable=g-bad-import-order
     35 from tensorflow.contrib.graph_editor import subgraph as _subgraph
     36 from tensorflow.contrib.graph_editor import util as _util
     37 # pylint: enable=g-bad-import-order
     38 ph = _util.make_placeholder_from_dtype_and_shape
     39 sgv = _subgraph.make_view
     40 sgv_scope = _subgraph.make_view_from_scope
     41 
     42 del absolute_import
     43 del division
     44 del print_function
     45