MLConvTranspose2dOptions constructor
MLConvTranspose2dOptions({})
Implementation
factory MLConvTranspose2dOptions(
{Iterable<int>? padding,
Iterable<int>? strides,
Iterable<int>? dilations,
Iterable<int>? outputPadding,
Iterable<int>? outputSizes,
MLAutoPad? autoPad,
int? groups,
MLInputOperandLayout? inputLayout,
MLConvTranspose2dFilterOperandLayout? filterLayout,
MLOperand? bias,
MLOperator? activation}) =>
MLConvTranspose2dOptions._(
padding: padding ?? undefined,
strides: strides ?? undefined,
dilations: dilations ?? undefined,
outputPadding: outputPadding ?? undefined,
outputSizes: outputSizes ?? undefined,
autoPad: autoPad?.value ?? MLAutoPad.explicit.value,
groups: groups ?? 1,
inputLayout: inputLayout?.value ?? MLInputOperandLayout.nchw.value,
filterLayout: filterLayout?.value ??
MLConvTranspose2dFilterOperandLayout.iohw.value,
bias: bias ?? undefined,
activation: activation ?? undefined);