public class KerasPoolingUtils extends Object
| Constructor and Description |
|---|
KerasPoolingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
mapGlobalPoolingDimensions(String className,
KerasLayerConfiguration conf)
Map Keras pooling layers to DL4J pooling dimensions.
|
static PoolingType |
mapPoolingType(String className,
KerasLayerConfiguration conf)
Map Keras pooling layers to DL4J pooling types.
|
public static PoolingType mapPoolingType(String className, KerasLayerConfiguration conf) throws UnsupportedKerasConfigurationException
className - name of the Keras pooling classUnsupportedKerasConfigurationException - Unsupported Keras configpublic static int[] mapGlobalPoolingDimensions(String className, KerasLayerConfiguration conf) throws UnsupportedKerasConfigurationException
className - name of the Keras pooling classUnsupportedKerasConfigurationException - Unsupported Keras configCopyright © 2018. All rights reserved.