We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following test returns zeros arrays, not random ones:
@Test void testRndBloat16() { INDArray x = Nd4j.rand(DataType.BFLOAT16 , 'c', new int[]{5}); System.out.println(x); x = Nd4j.randn(DataType.BFLOAT16 , 10); System.out.println(x); }
output:
[ 0, 0, 0, 0, 0] [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Behavior for other datatypes is as expected: An exception for non floating point datatypes or a random array.
The text was updated successfully, but these errors were encountered:
Fixed
Sorry, something went wrong.
raver119
No branches or pull requests
The following test returns zeros arrays, not random ones:
output:
Behavior for other datatypes is as expected: An exception for non floating point datatypes or a random array.
The text was updated successfully, but these errors were encountered: