MLPadOptions constructor

MLPadOptions({
  1. MLPaddingMode? mode,
  2. double? value,
})

Implementation

factory MLPadOptions({MLPaddingMode? mode, double? value}) => MLPadOptions._(
    mode: mode?.value ?? MLPaddingMode.constant.value, value: value ?? 0);