WebIDLpedia

MLTensor interface

Definition

Web Neural Network API defines MLTensor



[SecureContext, Exposed=(Window, DedicatedWorker)]
interface MLTensor {
  readonly attribute MLOperandDataType dataType;
  readonly attribute FrozenArray<unsigned long> shape;
  readonly attribute boolean readable;
  readonly attribute boolean writable;

  undefined destroy();
};

Methods and attributes that return objects implementing MLTensor

Referring IDL interfaces/dictionaries