Class Gather
Represents a Gather layer. This takes values from the input tensor indexed by the indices tensor along a given axis and concatenates them.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class Gather : Layer
Constructors
| Name | Description |
|---|---|
| Gather(string, string, string, int) | Initializes and returns an instance of |
Fields
| Name | Description |
|---|---|
| axis | The axis along which to perform the gather. |
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 |