sd.random distribution usage in docs
Author: LanaSinaCreated Aug 28, 2026Updated Aug 28, 2026
In
https://deeplearning4j.konduit.ai/nd4j/overview-2/operations#sd.random-random-number-generators
SDVariable uniform = sd.random.uniform("uniform", 0.0, 1.0, new long[]{64, 512});
That function (and the others in that block) does not exist
sd.random.uniform(0.0,1.0, DataType.FLOAT, 64, 512);
would be correct
Source: deeplearning4j/deeplearning4j