docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class FunctionalExtensions

    Represents extension functions for the Sentis functional API.

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

    Methods

    Forward(Model, params FunctionalTensor[])

    Returns the functional outputs of the forward pass of a model. Sentis will perform destructive edits of the source model.

    Declaration
    public static FunctionalTensor[] Forward(this Model model, params FunctionalTensor[] inputs)
    Parameters
    Type Name Description
    Model model

    The source model.

    FunctionalTensor[] inputs

    The functional inputs to the model.

    Returns
    Type Description
    FunctionalTensor[]

    The functional representation of the model.

    ForwardWithCopy(Model, params FunctionalTensor[])

    Returns the functional outputs of the forward pass of a model. Sentis will perform a deep copy of the course model.

    Declaration
    public static FunctionalTensor[] ForwardWithCopy(this Model model, params FunctionalTensor[] inputs)
    Parameters
    Type Name Description
    Model model

    The source model.

    FunctionalTensor[] inputs

    The functional inputs to the model.

    Returns
    Type Description
    FunctionalTensor[]

    The functional representation of the model.

    In This Article
    Back to top
    Copyright © 2024 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)