Export to TorchScript-based ONNX¶
Category: export.tracer
Version: 1.3.0
UUID: 934540d970cb049825ba2d9986e297a2e83f9ddba54771111b7b326cfb264e30
Execution context: leip_af
Choice Priority: 1.0
Value Parameters¶
| Name | Synonyms | Type | Values |
|---|---|---|---|
| Exported batch size | export.batch_size |
scalar | int, min: 1 |
| Exported height | export.data.height |
scalar | int, min: 1 |
| Add the label -> class name correspondance to the model schema | export.include_data_labelmap |
scalar | bool |
| Add LEIP SDK model schema | export.include_model_schema |
scalar | bool |
| Add postprocessor (Available for detection models) | export.include_postprocessor |
scalar | bool |
| Add data preprocessor | export.include_preprocessor |
scalar | bool |
| torch.onnx.export do_constant_folding flag. Defaults to True | export.onnx.do_constant_folding |
scalar | bool |
| torch.onnx.export input_names | export.onnx.input_names |
list | string |
| torch.onnx.export output_names | export.onnx.output_names |
list | string |
| torch.onnx.export verbose flag. if True, prints a description of the model being exported to stdout. | export.onnx.verbose |
scalar | bool |
| Output directory | export.output_directory |
scalar | path |
| Output file | export.output_file |
scalar | path |
| Preserve privacy in exported model | export.preserve_privacy |
scalar | bool |
| Exported width | export.data.width |
scalar | int, min: 1 |
This component fits into¶
| Name | UUID | Synonyms |
|---|---|---|
| Full Recipe | 7b4927... |
export |