MLResample2dOptions constructor
MLResample2dOptions({})
Implementation
factory MLResample2dOptions(
{MLInterpolationMode? mode,
Iterable<double>? scales,
Iterable<int>? sizes,
Iterable<int>? axes}) =>
MLResample2dOptions._(
mode: mode?.value ?? MLInterpolationMode.nearestNeighbor.value,
scales: scales ?? undefined,
sizes: sizes ?? undefined,
axes: axes ?? undefined);