Returns a list of the names of the input tensors. Returns: List of strings.
(self)
| 995 | return result |
| 996 | |
| 997 | def get_input_arrays(self): |
| 998 | """Returns a list of the names of the input tensors. |
| 999 | |
| 1000 | Returns: |
| 1001 | List of strings. |
| 1002 | """ |
| 1003 | if self._has_valid_tensors(): |
| 1004 | return [_get_tensor_name(tensor) for tensor in self._input_tensors] |
| 1005 | else: |
| 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. |