Class FunctionalExtensions
Represents extension functions for the Sentis functional API.
Inherited Members
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. |