Class Layer
Represents the base class for all model layers.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public abstract class Layer
Fields
| Name | Description |
|---|---|
| flags | The flags set on the layer. |
| inputs | The names to use for the input tensors for a layer. |
| name | The name to use for the first output tensor for a layer. |
| outputs | The names to use for all of the output tensors for a layer. This is |
Methods
| Name | Description |
|---|---|
| Execute(Tensor[], ExecutionContext) | Executes the layer using the operations and variables from the If the layer has more than one output, output tensors are saved to variables. |
| ToString() | Returns a string that represents the |