setWithMaskInPlace
creates garbage values when mask is smaller than tensor
#270
Labels
bug
Something isn't working
Describe the bug
Calling
setWithMaskInPlace
for Integer and Double tensors with a mask not the same length as the tensor produces unexpected behavioursTo Reproduce
Steps to reproduce the behavior:
setWithMaskInPlace
with a mask with a length different than the tensorExpected behavior
This type of input should not be prohibited.
The text was updated successfully, but these errors were encountered: