I am using rldj for some experiments, but I found type inconsistency between rl4j and nd4j. The return type of INDArray's shape() is long[]锛宐ut the parameter type Learning.makeShape() needed is int[].
Rl4j and nd4j are all 1.0.0-SNAPSHOT.


Aha! Link: https://skymindai.aha.io/features/ND4J-43
Please feel free to update it to long[] and send a pull request! Thanks for reporting
Please feel free to update it to long[] and send a pull request! Thanks for reporting
In other words, this is a bug?
Yes, in the sense that we could in theory need to have dimensions larger than Integer.MAX_VALUE.
Yes, in the sense that we could in theory need to have dimensions larger than Integer.MAX_VALUE.
I got it and will send a pull request later.
Most helpful comment
I got it and will send a pull request later.