docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Model

    Represents a Sentis neural network.

    Inheritance
    object
    Model
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Sentis
    Assembly: Unity.Sentis.dll
    Syntax
    public class Model

    Fields

    ProducerName

    The producer of the model, as a string.

    Declaration
    public string ProducerName
    Field Value
    Type Description
    string

    Version

    The version of the model. The value increments each time the data structure changes.

    Declaration
    public const int Version = 30
    Field Value
    Type Description
    int

    constants

    The constants of the model.

    Declaration
    public List<Constant> constants
    Field Value
    Type Description
    List<Constant>

    inputs

    The inputs of the model.

    Declaration
    public List<Model.Input> inputs
    Field Value
    Type Description
    List<Model.Input>

    layers

    The layers of the model.

    Declaration
    public List<Layer> layers
    Field Value
    Type Description
    List<Layer>

    outputs

    The outputs of the model.

    Declaration
    public List<Model.Output> outputs
    Field Value
    Type Description
    List<Model.Output>

    Methods

    AddOutput(string, int)

    Adds an output called name to the model.

    Declaration
    public void AddOutput(string name, int index)
    Parameters
    Type Name Description
    string name

    The name of the input.

    int index

    The index of the output.

    ToString()

    Returns a string that represents the Model.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String representation of model.

    Overrides
    object.ToString()
    In This Article
    • Fields
      • ProducerName
      • Version
      • constants
      • inputs
      • layers
      • outputs
    • Methods
      • AddOutput(string, int)
      • ToString()
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)