APIsΒΆ
Save an ONNX model to a file with external data in a safetensors file. |
|
Load weights from safetensors file and use them as external data for the ONNX model. |
|
Save an ONNX model to a safetensors file. |
|
Unpack an ONNX model stored in a safetensors file. |
|
Load external data into ONNX model from safetensors bytes. |
|
Load external data into ONNX model from a safetensors file. |
|
Replace weights in an ONNX model with those of the same names found in the safetensors file. |
|
Save all tensors in an ONNX model to a safetensors object serialized as bytes. |
|
Save all tensors in an ONNX model to a safetensors file. |