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

Method prevent_feeding

tensorflow/python/framework/ops.py:4945–4947  ·  view source on GitHub ↗

Marks the given `tensor` as unfeedable in this graph.

(self, tensor)

Source from the content-addressed store, hash-verified

4943 # pylint: enable=g-doc-return-or-yield
4944
4945 def prevent_feeding(self, tensor):
4946 """Marks the given `tensor` as unfeedable in this graph."""
4947 self._unfeedable_tensors.add(tensor)
4948
4949 def is_feedable(self, tensor):
4950 """Returns `True` if and only if `tensor` is feedable."""

Callers 7

testPreventFeedingMethod · 0.95
AddOpMethod · 0.80
AddValueMethod · 0.80
_AddOpInternalMethod · 0.80
_BuildLoopMethod · 0.80
constant_valueFunction · 0.80
AddOpMethod · 0.80

Calls 1

addMethod · 0.45

Tested by 1

testPreventFeedingMethod · 0.76