Contents

init(dimension:reductionType:)

Creates a scatter layer with the dimension and reduction type you specify.

Declaration

convenience init?(dimension: Int, reductionType: MLCReductionType)

Parameters

  • dimension:

    The dimension to index.

  • reductionType:

    The reduction type that applies to all values in a source tensor.

Discussion