Gets model input details. Returns: A list of input details.
(self)
| 320 | return tensor_details |
| 321 | |
| 322 | def get_input_details(self): |
| 323 | """Gets model input details. |
| 324 | |
| 325 | Returns: |
| 326 | A list of input details. |
| 327 | """ |
| 328 | return [ |
| 329 | self._get_tensor_details(i) for i in self._interpreter.InputIndices() |
| 330 | ] |
| 331 | |
| 332 | def set_tensor(self, tensor_index, value): |
| 333 | """Sets the value of the input tensor. Note this copies data in `value`. |