Class Model
Represents a Sentis neural network.
Inherited Members
Namespace: Unity.Sentis
Assembly: solution.dll
Syntax
public class Model
Fields
Name | Description |
---|---|
DefaultOpsetVersion | The opset version number of the ONNX model, for the default domain. |
IrSource | The metadata of the model, as a string. |
IrVersion | The metadata of the ONNX model, as a string. |
OpsetDescriptions | The opsets of the ONNX model. |
ProducerName | The producer of the model, as a string. |
Version | The version of the model. The value increments each time the data structure changes. |
constants | The constants of the model. |
inputs | The inputs of the model. |
layers | The layers of the model. |
outputs | The outputs of the model. |
Properties
Name | Description |
---|---|
Metadata | The metadata properties associated with the model. |
Warnings | The warnings from the model importer. |
Methods
Name | Description |
---|---|
AddConstant(Constant) | Adds a |
AddInput(string, DataType, SymbolicTensorShape) | Adds an input to the model with a symbolic tensor shape. |
AddInput(string, DataType, TensorShape) | Adds an input to the model with a tensor shape. |
AddLayer(Layer) | Appends a |
AddOutput(string) | Adds an output called |
ShallowCopy() | Returns a shallow copy of the model. |
ToString() | Returns a string that represents the |