-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
Description
In the validation steps for various operations (for instance Batch Norm), the following dependencies/references/algorithms need to be defined (this entry will be kept updated):
- Internal slots for MLOperand:
- [[type]] as MLOperandType
- [[dimensions]] as
sequence<unsigned long> - [[name]] as string (only for input operands)
- [[data]] as ArrayBufferView (tensor of given dimensions)
- [[builder]] the associated MLGraphBuilder
- Algorithm (or internal slot) to get the rank of the operand (for checking range for axis)
- Algorithm to internally create an MLOperand given |builder| and |descriptor|, used by op algorithms.
- Algorithm to internally copy an MLOperand, used by op algorithms.
- Algorithm to check dimensions given |dimensions| and |type|.
- Internal slots for MLActivation:
- [[name]] as string, e.g. "relu", "sigmoid", "softmax", etc.
- ? [[input]] as MLOperand (needed?)
- ? [[output]] as MLOperand (intermediate output?)
- Algorithm to create an MLActivation, used by the op algorithms.
Related to the clarification of terms requested in #335.
Reactions are currently unavailable