diff options
author | 2018-06-05 08:13:07 -0700 | |
---|---|---|
committer | 2018-06-05 08:15:52 -0700 | |
commit | 274f9510f68f237589df5c6a414e4b8e5ebcdba1 (patch) | |
tree | b779bc166e890b31c03f6f3e82987daf23070096 /tensorflow/contrib/copy_graph | |
parent | c0dc76a3994c743151404b1401599fefb9f37dd4 (diff) |
Remove _USE_C_API staging from ops.py.
PiperOrigin-RevId: 199298594
Diffstat (limited to 'tensorflow/contrib/copy_graph')
-rw-r--r-- | tensorflow/contrib/copy_graph/python/util/copy_elements.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/contrib/copy_graph/python/util/copy_elements.py b/tensorflow/contrib/copy_graph/python/util/copy_elements.py index 102bc460fd..a0dd3881a8 100644 --- a/tensorflow/contrib/copy_graph/python/util/copy_elements.py +++ b/tensorflow/contrib/copy_graph/python/util/copy_elements.py @@ -218,7 +218,6 @@ def copy_op_to_graph(org_instance, to_graph, variables, scope=''): new_control_inputs, input_types, new_original_op, op_def) #Use Graph's hidden methods to add the op - to_graph._add_op(new_op) # pylint: disable=protected-access to_graph._record_op_seen_by_control_dependencies(new_op) for device_function in reversed(to_graph._device_function_stack): new_op._set_device(device_function(new_op)) |