WebIDLpedia

ML interface

Definition

Web Neural Network API defines ML



[SecureContext, Exposed=(Window, DedicatedWorker)]
interface ML {
  Promise<MLContext> createContext(optional MLContextOptions options = {});
  Promise<MLContext> createContext(GPUDevice gpuDevice);
};

Methods and attributes that return objects implementing ML

Referring IDL interfaces/dictionaries