Convert a TensorHandle object to a feedable numpy value. Returns: A numpy array of a custom struct type that can be used as a feed value to run().
(self)
| 77 | return self._resource_handle |
| 78 | |
| 79 | def to_numpy_array(self): |
| 80 | """Convert a TensorHandle object to a feedable numpy value. |
| 81 | |
| 82 | Returns: |
| 83 | A numpy array of a custom struct type that can be used as a feed value |
| 84 | to run(). |
| 85 | """ |
| 86 | return encode_resource_handle(self._get_resource_handle()) |
| 87 | |
| 88 | @property |
| 89 | def handle(self): |
no test coverage detected