WebIDLpedia

MLResample2dOptions dictionary

Definition

Web Neural Network API defines MLResample2dOptions



dictionary MLResample2dOptions : MLOperatorOptions {
  MLInterpolationMode mode = "nearest-neighbor";
  sequence<float> scales;
  sequence<[EnforceRange] unsigned long> sizes;
  sequence<[EnforceRange] unsigned long> axes;
};

Referring IDL interfaces/dictionaries