Package org.nd4j.weightinit.impl
Class LecunUniformInitScheme
- java.lang.Object
-
- org.nd4j.weightinit.BaseWeightInitScheme
-
- org.nd4j.weightinit.impl.LecunUniformInitScheme
-
- All Implemented Interfaces:
WeightInitScheme
public class LecunUniformInitScheme extends BaseWeightInitScheme
Initialize the weight to: randn(shape) //N(0, 2/nIn);- Author:
- Adam Gibson
-
-
Constructor Summary
Constructors Constructor Description LecunUniformInitScheme(char order, double fanIn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INDArray
doCreate(DataType dataType, long[] shape, INDArray paramsView)
WeightInit
type()
The type of the weight init-
Methods inherited from class org.nd4j.weightinit.BaseWeightInitScheme
create, create, handleParamsView, order
-
-
-
-
Method Detail
-
doCreate
public INDArray doCreate(DataType dataType, long[] shape, INDArray paramsView)
- Specified by:
doCreate
in classBaseWeightInitScheme
-
type
public WeightInit type()
Description copied from interface:WeightInitScheme
The type of the weight init- Returns:
-
-