Contents

scatterND(updates:indices:mode:)

Adds a scatter-nd operation to the current graph.

Declaration

func scatterND(updates: BNNSGraph.Builder.Tensor<T>, indices: some BNNSGraph.Builder.OperationParameter<Int32>, mode: BNNSGraph.Builder.ScatterMode) -> BNNSGraph.Builder.Tensor<T>

Parameters

  • updates:

    A tensor that specifes the values that the operation scatters.

  • indices:

    The indices that the operation scatters.

  • mode:

    An enumeration that specifies how the operation calculates scattered values.