public interface IWeightInit extends Serializable
Modifier and Type | Field and Description |
---|---|
static char |
DEFAULT_WEIGHT_INIT_ORDER |
Modifier and Type | Method and Description |
---|---|
INDArray |
init(double fanIn,
double fanOut,
long[] shape,
char order,
INDArray paramView)
Initialize parameters in the given view.
|
static final char DEFAULT_WEIGHT_INIT_ORDER
INDArray init(double fanIn, double fanOut, long[] shape, char order, INDArray paramView)
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 © 2019. All rights reserved.