Package org.nd4j.weightinit.impl
Class XavierUniformInitScheme
- java.lang.Object
-
- org.nd4j.weightinit.BaseWeightInitScheme
-
- org.nd4j.weightinit.impl.XavierUniformInitScheme
-
- All Implemented Interfaces:
WeightInitScheme
public class XavierUniformInitScheme extends BaseWeightInitScheme
-
-
Constructor Summary
Constructors Constructor Description XavierUniformInitScheme(char order, double fanIn, double fanOut)
-
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:
-
-