MLInstanceNormalizationOptions constructor
MLInstanceNormalizationOptions({
- MLOperand? scale,
- MLOperand? bias,
- double? epsilon,
- MLInputOperandLayout? layout,
Implementation
factory MLInstanceNormalizationOptions(
{MLOperand? scale,
MLOperand? bias,
double? epsilon,
MLInputOperandLayout? layout}) =>
MLInstanceNormalizationOptions._(
scale: scale ?? undefined,
bias: bias ?? undefined,
epsilon: epsilon ?? 1e-5,
layout: layout?.value ?? MLInputOperandLayout.nchw.value);