Package org.nd4j.weightinit.impl
Class VarScalingNormalUniformFanInInitScheme
- java.lang.Object
-
- org.nd4j.weightinit.BaseWeightInitScheme
-
- org.nd4j.weightinit.impl.VarScalingNormalUniformFanInInitScheme
-
- All Implemented Interfaces:
WeightInitScheme
public class VarScalingNormalUniformFanInInitScheme extends BaseWeightInitScheme
Initialize the weight to: range = = 3.0 / Math.sqrt(fanIn) U(-range,range)- Author:
- Adam Gibson
-
-
Constructor Summary
Constructors Constructor Description VarScalingNormalUniformFanInInitScheme(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:
-
-