You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opset: the opset to be used for the ONNX model, default is the latest
394
+
custom_ops: if a model contains ops not recognized by onnx runtime,
395
+
you can tag these ops with a custom op domain so that the
396
+
runtime can still open the model. Type is a dictionary `{op name: domain}`.
397
+
custom_op_handlers: dictionary of custom ops handlers
398
+
custom_rewriter: list of custom graph rewriters
399
+
inputs_as_nchw: transpose inputs in list from nchw to nhwc
400
+
extra_opset: list of extra opset's, for example the opset's used by custom ops
401
+
shape_override: dict with inputs that override the shapes given by tensorflow
402
+
target: list of workarounds applied to help certain platforms
403
+
large_model: use the ONNX external tensor storage format
404
+
output_path: save model to output_path
405
+
406
+
Returns:
407
+
An ONNX model_proto and an external_tensor_storage dict.
408
+
```
409
+
380
410
### Creating custom op mappings from python
381
411
382
412
For complex custom ops that require graph rewrites or input / attribute rewrites using the python interface to insert a custom op will be the easiest way to accomplish the task.
0 commit comments