Contents

returnIndicesMode

Defines the mode for returned indices of maximum values within each pooling window.

Declaration

var returnIndicesMode: MPSGraphPoolingReturnIndicesMode { get set }

Discussion

Use this in conjunction with maxPooling4DReturnIndices(_:descriptor:name:) API. If returnIndicesMode = MPSGraphPoolingReturnIndicesNone then only the first result MPSGraph returns from maxPooling4DReturnIndices(_:descriptor:name:) will be valid and using the second result will assert. Default value: MPSGraphPoolingReturnIndicesNone.