| Package | Description |
|---|---|
| org.deeplearning4j.nn.modelimport.keras | |
| org.deeplearning4j.nn.modelimport.keras.layers.pooling | |
| org.deeplearning4j.nn.modelimport.keras.utils |
| Modifier and Type | Field and Description |
|---|---|
protected KerasLayer.DimOrder |
KerasLayer.dimOrder |
protected KerasLayer.DimOrder |
KerasModel.dimOrder |
| Modifier and Type | Method and Description |
|---|---|
protected KerasLayer.DimOrder |
KerasLayer.getDimOrder()
Get Keras layer backend dimension order.
|
static KerasLayer.DimOrder |
KerasLayer.DimOrder.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KerasLayer.DimOrder[] |
KerasLayer.DimOrder.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
KerasModel(String modelJson,
String modelYaml,
Hdf5Archive weightsArchive,
String weightsRoot,
String trainingJson,
Hdf5Archive trainingArchive,
boolean enforceTrainingConfig,
int[] inputShape,
KerasLayer.DimOrder dimOrder)
(Not recommended) Constructor for (Functional API) Model from model configuration
(JSON or YAML), training configuration (JSON), weights, and "training mode"
boolean indicator.
|
| Modifier and Type | Method and Description |
|---|---|
static int[] |
KerasPoolingUtils.mapGlobalPoolingDimensions(String className,
KerasLayerConfiguration conf,
KerasLayer.DimOrder dimOrder)
Map Keras pooling layers to DL4J pooling dimensions.
|
| Modifier and Type | Field and Description |
|---|---|
protected KerasLayer.DimOrder |
KerasModelBuilder.dimOrder |
| Modifier and Type | Method and Description |
|---|---|
static KerasLayer.DimOrder |
KerasLayerUtils.getDimOrderFromConfig(Map<String,Object> layerConfig,
KerasLayerConfiguration conf)
Get Keras (backend) dimension order from Keras layer configuration.
|
| Modifier and Type | Method and Description |
|---|---|
KerasModelBuilder |
KerasModelBuilder.dimOrder(KerasLayer.DimOrder dimOrder)
Manually set dim order for Keras model, i.e.
|
Copyright © 2021. All rights reserved.