MLPool2dOptions constructor
MLPool2dOptions({})
Implementation
factory MLPool2dOptions(
{Iterable<int>? windowDimensions,
Iterable<int>? padding,
Iterable<int>? strides,
Iterable<int>? dilations,
MLAutoPad? autoPad,
MLInputOperandLayout? layout,
MLRoundingType? roundingType,
Iterable<int>? outputSizes}) =>
MLPool2dOptions._(
windowDimensions: windowDimensions ?? undefined,
padding: padding ?? undefined,
strides: strides ?? undefined,
dilations: dilations ?? undefined,
autoPad: autoPad?.value ?? MLAutoPad.explicit.value,
layout: layout?.value ?? MLInputOperandLayout.nchw.value,
roundingType: roundingType?.value ?? MLRoundingType.floor.value,
outputSizes: outputSizes ?? undefined);