You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed INDArray#fmod doesn't work as expected on Long data type arrays
long[] l = new long[]{805459861L*15L};
INDArray arrayLong = Nd4j.createFromArray(l);
long mod = l[0] % 4096;
System.out.println(mod); // prints : 443
arrayLong.fmodi(4096L);
System.out.println(arrayLong.getLong()); // prints : 0
Version Information
Please indicate relevant versions, including, if relevant:
1.0.0-M2.1
windows
CUDA 11.6
The text was updated successfully, but these errors were encountered:
Issue Description
I noticed INDArray#fmod doesn't work as expected on Long data type arrays
Version Information
Please indicate relevant versions, including, if relevant:
The text was updated successfully, but these errors were encountered: