The latest PS updates IDL design from shape range to per-dimension ranges. Now we can create input by:
`const input = builder.input('input', {dataType: 'float32', shape: [1, {min:1, max:8, preferred:3}]});`
Next I'll update the mojom definition to match the new IDL design.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
WebNN: Prototype range based dynamic shapesMark this draft CL is [WIP]
array<uint32> shape;Align the shape definition with WebIDL and support static or range dimension.
dictionary MLInputOperandDescriptor {The operator descriptor supporting range dimension should also be used by `MLOperand`. Having "Input" in its name may confuse. One alternative way is to let the default `MLOperandDescritptor` support range dimension, and rename the previous one to `MLStaticOperandDescriptor` which could be used by Constant and MLTensor.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |