public class NDArraySupplierInitScheme extends Object implements WeightInitScheme
| Modifier and Type | Class and Description |
|---|---|
static interface |
NDArraySupplierInitScheme.NDArraySupplier
A simple
facade |
| Constructor and Description |
|---|
NDArraySupplierInitScheme() |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
create(int[] shape)
Create the array
|
INDArray |
create(int[] shape,
INDArray paramsView)
Create the array
|
char |
order()
The order of the weight init
|
WeightInit |
type()
The type of the weight init
|
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 WeightInitSchemepublic WeightInit type()
WeightInitSchemetype in interface WeightInitSchemeCopyright © 2018. All rights reserved.