MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / copy

Method copy

tensorflow/contrib/graph_editor/subgraph.py:254–263  ·  view source on GitHub ↗

Return a copy of itself. Note that this class is a "view", copying it only create another view and does not copy the underlying part of the tf.Graph. Returns: A new instance identical to the original one.

(self)

Source from the content-addressed store, hash-verified

252 # pylint: enable=protected-access
253
254 def copy(self):
255 """Return a copy of itself.
256
257 Note that this class is a "view", copying it only create another view and
258 does not copy the underlying part of the tf.Graph.
259
260 Returns:
261 A new instance identical to the original one.
262 """
263 return copy.copy(self)
264
265 def _remap_default(self, remove_input_map=True, remove_output_map=True):
266 """Remap in the place the inputs and/or outputs to the default mapping.

Callers 15

remap_defaultMethod · 0.95
remap_inputsMethod · 0.95
_recursive_copyFunction · 0.45
__init__Method · 0.45
get_matched_patternFunction · 0.45
emit_countersMethod · 0.45
_get_applicable_dictMethod · 0.45
process_treeMethod · 0.45
arg_scopeFunction · 0.45
func_with_argsFunction · 0.45
testClearArgScopeMethod · 0.45
testCurrentArgScopeMethod · 0.45

Calls

no outgoing calls

Tested by 15

testClearArgScopeMethod · 0.36
testCurrentArgScopeMethod · 0.36
testReuseArgScopeMethod · 0.36
setUpMethod · 0.36
testCopyExtraArgsMethod · 0.36
testCopyOverrideMethod · 0.36
testBijectorMethod · 0.36