MLBatchNormalizationOptions constructor

MLBatchNormalizationOptions({
  1. MLOperand? scale,
  2. MLOperand? bias,
  3. int? axis,
  4. double? epsilon,
  5. 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);