Checks if the input and output tensors have been initialized. Returns: Bool.
(self)
| 1006 | return [name for name, _ in self._input_arrays_with_shape] |
| 1007 | |
| 1008 | def _has_valid_tensors(self): |
| 1009 | """Checks if the input and output tensors have been initialized. |
| 1010 | |
| 1011 | Returns: |
| 1012 | Bool. |
| 1013 | """ |
| 1014 | return self._input_tensors and self._output_tensors |
| 1015 | |
| 1016 | def _set_batch_size(self, batch_size): |
| 1017 | """Sets the first dimension of the input tensor to `batch_size`. |
no outgoing calls