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

Method capture

tensorflow/tensorflow/python/ops/while_v2.py:896–920  ·  view source on GitHub ↗

Selectively captures external tensors. If `whitelisted` is False only allows capturing tensors in the `_forward_graph`. Args: tensor: Tensor. May be from this FuncGraph or a different graph. name: Optional name if a placeholder is created. whitelisted: If False (defau

(self, tensor, name=None, whitelisted=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

wrapped_bodyFunction · 0.45
while_loopFunction · 0.45
_capture_helperMethod · 0.45

Calls 1

_graph_nameFunction · 0.85

Tested by

no test coverage detected