Class ScatterElements
Represents a ScatterElements layer. This copies the input tensor and updates values at indexes specified by the indices tensor with values specified by the updates tensor along a given axis.
ScatterElements updates the values depending on the reduction mode used.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class ScatterElements : Layer
Constructors
| Name | Description |
|---|---|
| ScatterElements(string, string, string, string, int, ScatterReductionMode) | Initializes and returns an instance of |
Fields
| Name | Description |
|---|---|
| axis | The axis on which to perform the scatter. |
| reduction | The reduction mode used to update the values as a |
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 |