WebIDLpedia

MLGruOptions dictionary

Definition

Web Neural Network API defines MLGruOptions



dictionary MLGruOptions {
  MLOperand bias;
  MLOperand recurrentBias;
  MLOperand initialHiddenState;
  boolean resetAfter = true;
  boolean returnSequence = false;
  MLRecurrentNetworkDirection direction = "forward";
  MLGruWeightLayout layout = "zrn";
  sequence<MLActivation> activations;
};

Referring IDL interfaces/dictionaries