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.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019