WebNN-Polyfill WebGL backend is based on tf.js WebGL backend. When compiling graph by WebGL backend, tf.js WebGL backend would run WebGL program and save binary cache if the cache didn't exist, we happened to modify that outputShape previously for output of NCHW layout, then relevant saved binary cache was changed. This fixing is to protect saved cache from changes.
This PR is to fix #174.
WebNN-Polyfill WebGL backend is based on tf.js WebGL backend. When compiling graph by WebGL backend, tf.js WebGL backend would run WebGL program and save binary cache if the cache didn't exist, we happened to modify that
outputShape
previously for output of NCHW layout, then relevant saved binary cache was changed. This fixing is to protect saved cache from changes.@huningxin @Honry PTAL, thanks.