Marks the given `tensor` as unfeedable in this graph.
(self, tensor)
| 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.""" |