MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / save_onnx

Function save_onnx

monai/bundle/scripts.py:1421–1422  ·  view source on GitHub ↗
(onnx_obj: Any, filename_prefix_or_stream: str, **kwargs: Any)

Source from the content-addressed store, hash-verified

1419 converter_kwargs_.update({"inputs": inputs_, "use_trace": use_trace_})
1420
1421 def save_onnx(onnx_obj: Any, filename_prefix_or_stream: str, **kwargs: Any) -> None:
1422 onnx.save(onnx_obj, filename_prefix_or_stream)
1423
1424 _export(
1425 convert_to_onnx,

Callers 1

convert_to_onnxFunction · 0.85

Calls 1

saveMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…