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

Method prevent_fetching

tensorflow/python/framework/ops.py:4953–4955  ·  view source on GitHub ↗

Marks the given `op` as unfetchable in this graph.

(self, op)

Source from the content-addressed store, hash-verified

4951 return tensor not in self._unfeedable_tensors
4952
4953 def prevent_fetching(self, op):
4954 """Marks the given `op` as unfetchable in this graph."""
4955 self._unfetchable_ops.add(op)
4956
4957 def is_fetchable(self, tensor_or_op):
4958 """Returns `True` if and only if `tensor_or_op` is fetchable."""

Callers 9

testPreventFetchingMethod · 0.95
AddOpMethod · 0.80
AddValueMethod · 0.80
_AddOpInternalMethod · 0.80
condFunction · 0.80
_AddOpInternalMethod · 0.80
_build_condFunction · 0.80
_build_caseFunction · 0.80
AddOpMethod · 0.80

Calls 1

addMethod · 0.45

Tested by 1

testPreventFetchingMethod · 0.76