W3cubDocs

/TensorFlow Python

tf.contrib.graph_editor.placeholder_name(t=None, scope=None)

tf.contrib.graph_editor.placeholder_name(t=None, scope=None)

See the guide: Graph Editor (contrib) > Module: util

Create placeholder name for the graph editor.

Args:

  • t: optional tensor on which the placeholder operation's name will be based on
  • scope: absolute scope with which to prefix the placeholder's name. None means that the scope of t is preserved. "" means the root scope. Returns: A new placeholder name prefixed by "geph". Note that "geph" stands for Graph Editor PlaceHolder. This convention allows to quickly identify the placeholder generated by the Graph Editor. Raises:
  • TypeError: if t is not None or a tf.Tensor.

Defined in tensorflow/contrib/graph_editor/util.py.

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/graph_editor/placeholder_name