static INDArray |
Nd4j.choice(@NonNull INDArray source,
@NonNull INDArray probs,
@NonNull INDArray target,
Random rng) |
This method samples value from Source array to Target, with probabilites provided in Probs argument
|
static INDArray |
Nd4j.choice(INDArray source,
INDArray probs,
int numSamples,
Random rng) |
This method returns new INDArray instance, sampled from Source array with probabilities given in Probs.
|
INDArray |
BaseNDArrayFactory.rand(int[] shape,
double min,
double max,
Random rng) |
|
INDArray |
BaseNDArrayFactory.rand(int[] shape,
float min,
float max,
Random rng) |
Generates a random matrix between min and max
|
INDArray |
BaseNDArrayFactory.rand(int[] shape,
Random r) |
Create a random ndarray with the given shape using the given rng
|
INDArray |
BaseNDArrayFactory.rand(long[] shape,
double min,
double max,
Random rng) |
|
INDArray |
BaseNDArrayFactory.rand(long[] shape,
float min,
float max,
Random rng) |
|
INDArray |
BaseNDArrayFactory.rand(long[] shape,
Random r) |
|
INDArray |
BaseNDArrayFactory.rand(long rows,
long columns,
double min,
double max,
Random rng) |
|
INDArray |
BaseNDArrayFactory.rand(long rows,
long columns,
float min,
float max,
Random rng) |
Generates a random matrix between min and max
|
INDArray |
BaseNDArrayFactory.rand(long rows,
long columns,
Random r) |
Create a random ndarray with the given shape using the given rng
|
static INDArray |
Nd4j.rand(double min,
double max,
Random rng,
@lombok.NonNull long... shape) |
Generates a random matrix between min and max
|
static INDArray |
Nd4j.rand(int[] shape,
double min,
double max,
Random rng) |
Deprecated.
|
static INDArray |
Nd4j.rand(int[] shape,
Random rng) |
Deprecated.
|
static INDArray |
Nd4j.rand(int rows,
int columns,
Random rng) |
Create a random ndarray with the given shape using the given rng
|
static INDArray |
Nd4j.rand(long[] shape,
double min,
double max,
Random rng) |
Deprecated.
|
static INDArray |
Nd4j.rand(INDArray target,
double min,
double max,
Random rng) |
Fill the given ndarray with random numbers drawn from a uniform distribution using the given RandomGenerator
|
static INDArray |
Nd4j.rand(INDArray target,
Random rng) |
Fill the given ndarray with random numbers drawn from a uniform distribution using the given RandomGenerator
|
static INDArray |
Nd4j.rand(Random rng,
@lombok.NonNull long... shape) |
Create a random ndarray with the given shape using the given RandomGenerator
|
INDArray |
NDArrayFactory.rand(int[] shape,
double min,
double max,
Random rng) |
|
INDArray |
NDArrayFactory.rand(int[] shape,
float min,
float max,
Random rng) |
Generates a random matrix between min and max
|
INDArray |
NDArrayFactory.rand(int[] shape,
Random r) |
Create a random ndarray with the given shape using the given rng
|
INDArray |
NDArrayFactory.rand(long[] shape,
double min,
double max,
Random rng) |
|
INDArray |
NDArrayFactory.rand(long[] shape,
float min,
float max,
Random rng) |
|
INDArray |
NDArrayFactory.rand(long[] shape,
Random r) |
|
INDArray |
NDArrayFactory.rand(long rows,
long columns,
double min,
double max,
Random rng) |
|
INDArray |
NDArrayFactory.rand(long rows,
long columns,
float min,
float max,
Random rng) |
Generates a random matrix between min and max
|
INDArray |
NDArrayFactory.rand(long rows,
long columns,
Random r) |
Create a random ndarray with the given shape using the given rng
|
INDArray |
BaseNDArrayFactory.randn(int[] shape,
Random r) |
Random normal using the given rng
|
INDArray |
BaseNDArrayFactory.randn(long[] shape,
Random r) |
|
INDArray |
BaseNDArrayFactory.randn(long rows,
long columns,
Random r) |
Random normal using the given rng
|
static INDArray |
Nd4j.randn(double mean,
double stddev,
long[] shape,
Random rng) |
|
static INDArray |
Nd4j.randn(double mean,
double stddev,
INDArray target,
Random rng) |
|
static INDArray |
Nd4j.randn(int[] shape,
Random r) |
Deprecated.
|
static INDArray |
Nd4j.randn(long[] shape,
Random r) |
Deprecated.
|
static INDArray |
Nd4j.randn(INDArray target,
Random rng) |
Fill the given ndarray with random numbers drawn from a normal distribution utilizing the given random generator
|
static INDArray |
Nd4j.randn(Random r,
@lombok.NonNull long... shape) |
Random normal using the given rng
|
INDArray |
NDArrayFactory.randn(int[] shape,
Random r) |
Random normal using the given rng
|
INDArray |
NDArrayFactory.randn(long[] shape,
Random r) |
|
INDArray |
NDArrayFactory.randn(long rows,
long columns,
Random r) |
Random normal using the given rng
|