public abstract class BaseWeightInitScheme extends Object implements WeightInitScheme
WeightInitScheme
This handles boilerplate like delegating to the parameters view.| Constructor and Description |
|---|
BaseWeightInitScheme()
Initialize with c weight ordering by default
|
BaseWeightInitScheme(char order) |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
create(int[] shape)
Create the array
|
INDArray |
create(int[] shape,
INDArray paramsView)
Create the array
|
abstract INDArray |
doCreate(int[] shape,
INDArray paramsView) |
protected INDArray |
handleParamsView(INDArray outputArray,
INDArray paramView) |
char |
order()
The order of the weight init
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittypepublic BaseWeightInitScheme()
public BaseWeightInitScheme(char order)
public INDArray create(int[] shape, INDArray paramsView)
WeightInitSchemecreate in interface WeightInitSchemeshape - the shape of the arrayparamsView - the parameters viewpublic INDArray create(int[] shape)
WeightInitSchemecreate in interface WeightInitSchemeshape - the shape of the arraypublic char order()
WeightInitSchemeorder in interface WeightInitSchemeCopyright © 2018. All rights reserved.