Class ONNXModelConverter
Represents a converter from an ONNX model to Sentis format.
Inherited Members
Namespace: Unity.Sentis.ONNX
Assembly: Unity.Sentis.ONNX.dll
Syntax
public class ONNXModelConverter
Constructors
ONNXModelConverter(string)
Initializes and returns an instance of ONNXModelConverter.
Declaration
public ONNXModelConverter(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | The path of the asset to convert. |
Properties
Warnings
The warnings from the model importer.
Declaration
public List<ONNXModelConverter.ImporterWarning> Warnings { get; }
Property Value
| Type | Description |
|---|---|
| List<ONNXModelConverter.ImporterWarning> |
Methods
Convert()
Converts an ONNX model to a Sentis Model object.
Declaration
public Model Convert()
Returns
| Type | Description |
|---|---|
| Model | The converted Sentis model. |