MLBatchNormalizationOptions constructor
MLBatchNormalizationOptions({
- MLOperand? scale,
- MLOperand? bias,
- int? axis,
- double? epsilon,
- MLOperator? activation,
Implementation
factory MLBatchNormalizationOptions(
{MLOperand? scale,
MLOperand? bias,
int? axis,
double? epsilon,
MLOperator? activation}) =>
MLBatchNormalizationOptions._(
scale: scale ?? undefined,
bias: bias ?? undefined,
axis: axis ?? 1,
epsilon: epsilon ?? 1e-5,
activation: activation ?? undefined);