init(reductionType:dimension:)
Creates a reduction layer using the reduction type and dimension you specify.
Declaration
convenience init?(reductionType: MLCReductionType, dimension: Int)Parameters
- reductionType:
The reduction type.
- dimension:
The dimension to perform the reduction operation on.
Return Value
A new MLCReductionLayer instance.