You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug fix: Remove null value support in reshape()'s newShape parameter (#505)
As noted in issue #388, the reshape op build method currently supports
a special null value in newShape array that instructs the
implementation to compute the size of the dimension with the value
null so that the total size remains constant. @fwdr proposed WebNN
should only support the concrete values in newShape because this can
be easily handled by framework through shape inference
It appears this change has already landed in the Chromium
implementation and WPTs.
Fixes#388
Alter the shape of a tensor to a new shape. Reshape does not copy or change the content of the tensor. It just changes the tensor's logical dimensions for the subsequent operations.
0 commit comments