MCPcopy Create free account
hub / github.com/alibaba/nann / _copy_non_source

Function _copy_non_source

tensorflow/tensorflow/python/eager/lift_to_graph.py:62–142  ·  view source on GitHub ↗

Copy an op directly to a given graph. Generally `op`'s inputs should already have been copied. If this is not the case, for example with v1 while_loops, then `_copy_non_source` inserts placeholders for the unavailable Tensors and returns a list of required mutations. Args: op: The op

(op, graph, op_map, base_graph)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_copy_sourceFunction · 0.85
lift_to_graphFunction · 0.85

Calls 7

getMethod · 0.45
placeholderMethod · 0.45
appendMethod · 0.45
control_dependenciesMethod · 0.45
deviceMethod · 0.45
add_to_graphMethod · 0.45
create_opMethod · 0.45

Tested by

no test coverage detected