Class Slice
Represents a Slice layer. The layer calculates the output tensor by slicing the input tensor along given axes with given starts, ends and steps.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Slice : Layer
Constructors
| Name | Description |
|---|---|
| Slice(string, string, string, string) | Initializes and returns an instance of |
| Slice(string, string, string, string, string) | Initializes and returns an instance of |
| Slice(string, string, string, string, string, string) | Initializes and returns an instance of |
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. |