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