public class KerasUpsampling2D extends KerasLayer
KerasLayer.DimOrderclassName, conf, dimOrder, dropout, inboundLayerNames, inputShape, kerasMajorVersion, layer, layerName, originalLayerConfig, outboundLayerNames, vertex, weightL1Regularization, weightL2Regularization, weights| Constructor and Description |
|---|
KerasUpsampling2D(Map<String,Object> layerConfig)
Constructor from parsed Keras layer configuration dictionary.
|
KerasUpsampling2D(Map<String,Object> layerConfig,
boolean enforceTrainingConfig)
Constructor from parsed Keras layer configuration dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
InputType |
getOutputType(InputType... inputType)
Get layer output type.
|
Upsampling2D |
getUpsampling2DLayer()
Get DL4J Upsampling2D layer.
|
clearCustomLayers, clearLambdaLayers, copyWeightsToLayer, getClassName, getDimOrder, getInboundLayerNames, getInputPreprocessor, getInputShape, getKerasMajorVersion, getLayer, getLayerName, getNInFromConfig, getNumParams, getVertex, getWeights, isInputPreProcessor, isLayer, isValidInboundLayer, isVertex, registerCustomLayer, registerLambdaLayer, setInboundLayerNames, setLayer, setWeights, usesRegularizationpublic KerasUpsampling2D(Map<String,Object> layerConfig) throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
layerConfig - dictionary containing Keras layer configuration.InvalidKerasConfigurationException - Invalid Keras configuration exceptionUnsupportedKerasConfigurationException - Unsupported Keras configuration exceptionpublic KerasUpsampling2D(Map<String,Object> layerConfig, boolean enforceTrainingConfig) throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
layerConfig - dictionary containing Keras layer configurationenforceTrainingConfig - whether to enforce training-related configuration optionsInvalidKerasConfigurationException - Invalid Keras configuration exceptionUnsupportedKerasConfigurationException - Invalid Keras configuration exceptionpublic Upsampling2D getUpsampling2DLayer()
public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException
getOutputType in class KerasLayerinputType - Array of InputTypesInvalidKerasConfigurationException - Invalid Keras configCopyright © 2021. All rights reserved.