public class RandomInitializer extends Object implements MLPInitializer
Constructor and Description |
---|
RandomInitializer()
Constructs RandomInitializer with random seed.
|
RandomInitializer(long seed)
Constructs RandomInitializer with the given seed.
|
RandomInitializer(Random rnd)
Construct RandomInitializer from given RNG.
|
Modifier and Type | Method and Description |
---|---|
void |
initBiases(Vector biases)
In-place change values of vector representing vectors.
|
void |
initWeights(Matrix weights)
In-place change values of matrix representing weights.
|
public RandomInitializer(Random rnd)
rnd
- RNG.public RandomInitializer(long seed)
seed
- Seed.public RandomInitializer()
public void initWeights(Matrix weights)
initWeights
in interface MLPInitializer
weights
- Matrix representing weights.public void initBiases(Vector biases)
initBiases
in interface MLPInitializer
biases
- Vector representing vectors.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024