◆ __init__()
def polygraphy.backend.onnx.loader.SaveOnnx.__init__ |
( |
|
self, |
|
|
|
model, |
|
|
|
path = None |
|
) |
| |
Functor that saves an ONNX model to the specified path.
Args:
model (Callable() -> onnx.ModelProto): A loader that can supply an ONNX model.
path (str): Path at which to write the ONNX model.
◆ __call__()
def polygraphy.backend.onnx.loader.SaveOnnx.__call__ |
( |
|
self | ) |
|
Saves an ONNX model to the specified path.
Returns:
onnx.ModelProto: The model, after saving it.
◆ _model
polygraphy.backend.onnx.loader.SaveOnnx._model |
|
private |
◆ path
polygraphy.backend.onnx.loader.SaveOnnx.path |
The documentation for this class was generated from the following file: