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

Method is_feedable

tensorflow/python/framework/ops.py:4949–4951  ·  view source on GitHub ↗

Returns `True` if and only if `tensor` is feedable.

(self, tensor)

Source from the content-addressed store, hash-verified

4947 self._unfeedable_tensors.add(tensor)
4948
4949 def is_feedable(self, tensor):
4950 """Returns `True` if and only if `tensor` is feedable."""
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."""

Callers 4

testPreventFeedingMethod · 0.95
_runMethod · 0.80
all_feedablesFunction · 0.80

Calls

no outgoing calls

Tested by 3

testPreventFeedingMethod · 0.76
all_feedablesFunction · 0.64