public class KerasDeconvolution2D extends KerasConvolution
KerasLayer.DimOrder
hasBias, numTrainableParams
className, conf, dimOrder, dropout, inboundLayerNames, inputShape, kerasMajorVersion, layer, layerName, vertex, weightL1Regularization, weightL2Regularization, weights
Constructor and Description |
---|
KerasDeconvolution2D(java.lang.Integer kerasVersion)
Pass-through constructor from KerasLayer
|
KerasDeconvolution2D(java.util.Map<java.lang.String,java.lang.Object> layerConfig)
Constructor from parsed Keras layer configuration dictionary.
|
KerasDeconvolution2D(java.util.Map<java.lang.String,java.lang.Object> layerConfig,
boolean enforceTrainingConfig)
Constructor from parsed Keras layer configuration dictionary.
|
Modifier and Type | Method and Description |
---|---|
Deconvolution2D |
getDeconvolution2DLayer()
Get DL4J ConvolutionLayer.
|
InputType |
getOutputType(InputType... inputType)
Get layer output type.
|
getConvParameterValues, getNumParams, setWeights
clearCustomLayers, clearLambdaLayers, copyWeightsToLayer, getClassName, getDimOrder, getInboundLayerNames, getInputPreprocessor, getInputShape, getKerasMajorVersion, getLayer, getLayerName, getNInFromConfig, getVertex, getWeights, isInputPreProcessor, isLayer, isValidInboundLayer, isVertex, registerCustomLayer, registerLambdaLayer, setInboundLayerNames, usesRegularization
public KerasDeconvolution2D(java.lang.Integer kerasVersion) throws UnsupportedKerasConfigurationException
kerasVersion
- major keras versionUnsupportedKerasConfigurationException
- Unsupported Keras configpublic KerasDeconvolution2D(java.util.Map<java.lang.String,java.lang.Object> layerConfig) throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
layerConfig
- dictionary containing Keras layer configurationInvalidKerasConfigurationException
- Invalid Keras configUnsupportedKerasConfigurationException
- Unsupported Keras configpublic KerasDeconvolution2D(java.util.Map<java.lang.String,java.lang.Object> layerConfig, boolean enforceTrainingConfig) throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
layerConfig
- dictionary containing Keras layer configurationenforceTrainingConfig
- whether to enforce training-related configuration optionsInvalidKerasConfigurationException
- Invalid Keras configUnsupportedKerasConfigurationException
- Unsupported Keras configpublic Deconvolution2D getDeconvolution2DLayer()
public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException
getOutputType
in class KerasLayer
inputType
- Array of InputTypesInvalidKerasConfigurationException
- Invalid Keras config