File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -333,11 +333,11 @@ for (const match of text.matchAll(/\bnot greater\b/g)) {
333333 error ( `Prefer "less or equal" to "not greater" (etc): ${ format ( match ) } ` ) ;
334334}
335335
336- // [WebNN] Look for incorrect use of shape for an MLOperandDescriptor
336+ // [WebNN] Ensure MLOperandDescriptor's shape is linked, not MLOperand's.
337337// This looks for variables containing 'desc' (descriptor, desc2, etc).
338338// FUTURE: Implement a "type checker" for specs.
339339for ( const match of source . matchAll ( / ( \| \w * d e s c \w * \| ) ' s \[ = M L O p e r a n d \/ s h a p e = \] / ig) ) {
340- error ( `Use ${ match [ 1 ] } .{{MLOperandDescriptor/shape}} not shape: ${ format ( match ) } ` ) ;
340+ error ( `Use ${ match [ 1 ] } .{{MLOperandDescriptor/shape}} not MLOperand's shape: ${ format ( match ) } ` ) ;
341341}
342342
343343// [Generic] Look for missing dict-member dfns
You can’t perform that action at this time.
0 commit comments