public class WeightInitVarScalingUniformFanOut extends Object implements IWeightInit
DEFAULT_WEIGHT_INIT_ORDER
Constructor and Description |
---|
WeightInitVarScalingUniformFanOut(Double scale) |
Modifier and Type | Method and Description |
---|---|
INDArray |
init(double fanIn,
double fanOut,
long[] shape,
char order,
INDArray paramView)
Initialize parameters in the given view.
|
public WeightInitVarScalingUniformFanOut(Double scale)
public INDArray init(double fanIn, double fanOut, long[] shape, char order, INDArray paramView)
IWeightInit
init
in interface IWeightInit
fanIn
- Number of input parametersfanOut
- Number of output parametersshape
- Desired shape of array (users shall assume paramView has this shape after method has finished)order
- Order of array, e.g. Fortran ('f') or C ('c')paramView
- View of parameters to initialize (and reshape)Copyright © 2020. All rights reserved.