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

Function lift_to_graph

tensorflow/tensorflow/python/eager/lift_to_graph.py:205–359  ·  view source on GitHub ↗

Copies the tensor and all its inputs recursively to the outer graph. Args: tensors: The Tensors to lift. graph: The graph to lift to. sources: Optional sequence of nodes to start from. If omitted the whole subgraph which feeds into `init_tensor` is lifted. disallowed_placeho

(tensors,
                  graph,
                  sources=None,
                  disallowed_placeholders=None,
                  add_sources=False,
                  handle_captures=False,
                  base_graph=None,
                  op_map=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 14

updateMethod · 0.95
allFunction · 0.85
_copy_sourceFunction · 0.85
_copy_non_sourceFunction · 0.85
_mutation_lockMethod · 0.80
_update_inputMethod · 0.80
_add_control_inputMethod · 0.80
_as_operationFunction · 0.70
appendMethod · 0.45
popMethod · 0.45
addMethod · 0.45
as_defaultMethod · 0.45

Tested by

no test coverage detected