Contents

includeZeroPadToAverage

Defines a mode for average pooling, where samples outside the input tensor count as zeroes in the average computation.

Declaration

var includeZeroPadToAverage: Bool { get set }

Discussion

Otherwise the result is sum over samples divided by number of samples that didn’t come from padding. Default value: NO.