module documentation
Read tensor shapes and element types from supported model files.
| Class | |
Input and output tensor metadata extracted from a model. |
| Function | get |
Extract input and output metadata from a supported model file. |
| Function | _get |
Extract metadata from an OpenVINO IR model. |
| Function | _get |
Extract metadata from an ONNX model. |
| Function | _get |
Extract metadata from a TFLite model. |
Extract input and output metadata from a supported model file.
| Parameters | |
modelPath | Path to an ONNX, OpenVINO IR, or TFLite model. |
| Returns | |
Metadata | Input and output shapes and dtypes for the model. |
| Raises | |
ValueError | If the model format is unsupported. |