Class Model
Neural Net Model data structure
Namespace: Unity.Barracuda
Syntax
public class Model : object
Fields
inputs
All model inputs
Declaration
public List<Model.Input> inputs
Field Value
Type | Description |
---|---|
List<Model.Input> |
IrSource
Model source metadata string
Declaration
public string IrSource
Field Value
Type | Description |
---|---|
String |
IrVersion
Model ONNX version metadata string
Declaration
public string IrVersion
Field Value
Type | Description |
---|---|
String |
layers
All model layers
Declaration
public List<Layer> layers
Field Value
Type | Description |
---|---|
List<Layer> |
layout
Model layout
Declaration
public string layout
Field Value
Type | Description |
---|---|
String |
memories
All model memories
Declaration
public List<Model.Memory> memories
Field Value
Type | Description |
---|---|
List<Model.Memory> |
outputs
All model outputs
Declaration
public List<string> outputs
Field Value
Type | Description |
---|---|
List<String> |
ProducerName
Model producer metadata string
Declaration
public string ProducerName
Field Value
Type | Description |
---|---|
String |
Version
Model version, incremented with each data structure change
Declaration
public const int Version = null
Field Value
Type | Description |
---|---|
Int32 |
Properties
Metadata
Metadata properties associated with the model
Declaration
public Dictionary<string, string> Metadata { get; }
Property Value
Type | Description |
---|---|
Dictionary<String, String> |
Warnings
Model import warnings
Declaration
public List<Model.ImporterWarning> Warnings { get; }
Property Value
Type | Description |
---|---|
List<Model.ImporterWarning> |
Methods
ShallowCopy()
Build shallow copy of the model
Declaration
public Model ShallowCopy()
Returns
Type | Description |
---|---|
Model | shallow copy of the model |
ToString()
Model summary string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | Model summary string |