module documentation
Undocumented
| Class | |
Undocumented |
| Class | |
No class docstring; 0/2 instance variable, 0/1 class variable, 2/2 methods, 0/2 class method documented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
No class docstring; 0/2 property, 0/4 class variable, 0/2 method, 3/3 static methods, 0/1 class method documented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
No class docstring; 0/15 class variable, 1/1 method, 2/2 class methods documented |
| Class | |
Undocumented |
| Constant | NAMED |
Undocumented |
| Function | _extract |
Extracts the corresponding second path from a single IR path. |
| Function | _get |
Try tensor lookup first, then node lookup, for ONNX metadata. |
| Function | _get |
Read shape and dtype information for an ONNX node output. |
| Function | _get |
Read shape and dtype information for an ONNX tensor. |
Undocumented
| Value |
|
def _extract_bin_xml_from_ir(ir_path:
Any, input_bin_path: Any | None = None) -> tuple[ Path, Path]:
¶
Extracts the corresponding second path from a single IR path.
We assume that the base filename matches between the .bin and .xml
file unless an explicit input_bin_path is provided.
def _get_onnx_inter_info(model_path:
Path, name: str) -> tuple[ list[ int] | None, DataType | None]:
¶
Try tensor lookup first, then node lookup, for ONNX metadata.