onnxruntime
52fc1ff2 - [DML EP] Fix FusedMatMul crash when batch > 1 (#14225)

Commit
3 years ago
[DML EP] Fix FusedMatMul crash when batch > 1 (#14225) ### Description Fix FusedMatMul crash when batch > 1 ### Motivation and Context FusedMatMul calls `SetStrides` on its input tensors but doesn't update the tensorSizeInBytes value. Calling `SetStrides` is very error-prone because it puts the tensor in an invalid state, and the caller needs to manually adjust it after the call. To avoid this situation in the future, we now update the size of the tensor in the `SetStrides` call itself.
Parents
Loading