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

Method capture

tensorflow/tensorflow/python/framework/func_graph.py:550–606  ·  view source on GitHub ↗

Captures `tensor` if it's external to this graph. If `tensor` is from a different graph, returns a placeholder for it. `tensor` and the placeholder will appear in self.captures, and the placeholder will appear in self.inputs. Multiple calls to this method with the same `tensor` arg

(self, tensor, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

_capture_by_valueMethod · 0.95
create_opMethod · 0.95
func_graph_from_py_funcFunction · 0.95
_get_defun_inputsFunction · 0.45

Calls 3

capture_eager_tensorMethod · 0.95
_capture_helperMethod · 0.95
uidMethod · 0.80

Tested by

no test coverage detected