Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.copy_graph.get_copied_op

View source on GitHub

Given an Operation instance from some Graph, returns

tf.contrib.copy_graph.get_copied_op(
    org_instance,
    graph,
    scope=''
)

its namesake from graph, under the specified scope (default "").

If a copy of org_instance is present in graph under the given scope, it will be returned.

Args:

  • org_instance: An Operation from some Graph.
  • graph: The Graph to be searched for a copr of org_instance.
  • scope: The scope org_instance is present in.

Returns:

The Operation copy from graph.