tf.contrib.graph_editor.placeholder_name
Create placeholder name for the graph editor.
tf.contrib.graph_editor.placeholder_name( t=None, scope=None, prefix=_DEFAULT_PLACEHOLDER_PREFIX )
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. |
prefix |
placeholder name prefix. |
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. |
© 2020 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/versions/r1.15/api_docs/python/tf/contrib/graph_editor/placeholder_name