Package org.nd4j.weightinit.impl
Class ConstantInitScheme
- java.lang.Object
-
- org.nd4j.weightinit.BaseWeightInitScheme
-
- org.nd4j.weightinit.impl.ConstantInitScheme
-
- All Implemented Interfaces:
WeightInitScheme
public class ConstantInitScheme extends BaseWeightInitScheme
Initialize the weight to zero.- Author:
- Adam Gibson
-
-
Constructor Summary
Constructors Constructor Description ConstantInitScheme(char order, double constant)
-
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:
-
-