Open huningxin opened 5 years ago
MPS backend will fail to execute a graph if the operators are not added in execution order. It is the case in simple example: https://github.com/intel/webml-polyfill/blob/c15fe15de6d2426930e0062c79321432b53b4869/examples/simple/SimpleModel.js#L67
It adds MUL op before two ADD ops.
MUL
ADD
MPSNNGraph should support reordering of ops.
MPS backend will fail to execute a graph if the operators are not added in execution order. It is the case in simple example: https://github.com/intel/webml-polyfill/blob/c15fe15de6d2426930e0062c79321432b53b4869/examples/simple/SimpleModel.js#L67
It adds
MUL
op before twoADD
ops.