Implement the spec change introduced by webmachinelearning/webnn#188 The corresponding webnn-polyfill issue is https://github.com/webmachinelearning/webnn-polyfill/issues/92