public class KerasSeparableConvolution2D extends KerasConvolution
KerasLayer.DimOrderhasBias, numTrainableParamsclassName, conf, dimOrder, dropout, inboundLayerNames, inputShape, kerasMajorVersion, layer, layerName, originalLayerConfig, outboundLayerNames, vertex, weightL1Regularization, weightL2Regularization, weights| Constructor and Description |
|---|
KerasSeparableConvolution2D(Integer kerasVersion)
Pass-through constructor from KerasLayer
|
KerasSeparableConvolution2D(Map<String,Object> layerConfig)
Constructor from parsed Keras layer configuration dictionary.
|
KerasSeparableConvolution2D(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.
|
SeparableConvolution2D |
getSeparableConvolution2DLayer()
Get DL4J SeparableConvolution2D.
|
void |
setWeights(Map<String,INDArray> weights)
Set weights for layer.
|
getConvParameterValues, getNumParamsclearCustomLayers, clearLambdaLayers, copyWeightsToLayer, getClassName, getDimOrder, getInboundLayerNames, getInputPreprocessor, getInputShape, getKerasMajorVersion, getLayer, getLayerName, getNInFromConfig, getVertex, getWeights, isInputPreProcessor, isLayer, isValidInboundLayer, isVertex, registerCustomLayer, registerLambdaLayer, setInboundLayerNames, setLayer, usesRegularizationpublic KerasSeparableConvolution2D(Integer kerasVersion) throws UnsupportedKerasConfigurationException
kerasVersion - major keras versionUnsupportedKerasConfigurationException - Unsupported Keras configurationpublic KerasSeparableConvolution2D(Map<String,Object> layerConfig) throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
layerConfig - dictionary containing Keras layer configurationInvalidKerasConfigurationException - Invalid Keras configurationUnsupportedKerasConfigurationException - Unsupported Keras configurationpublic KerasSeparableConvolution2D(Map<String,Object> layerConfig, boolean enforceTrainingConfig) throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
layerConfig - dictionary containing Keras layer configurationenforceTrainingConfig - whether to enforce training-related configuration optionsInvalidKerasConfigurationException - Invalid Keras configurationUnsupportedKerasConfigurationException - Unsupported Keras configurationpublic void setWeights(Map<String,INDArray> weights) throws InvalidKerasConfigurationException
setWeights in class KerasConvolutionweights - Map of weightsInvalidKerasConfigurationExceptionpublic SeparableConvolution2D getSeparableConvolution2DLayer()
public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException
getOutputType in class KerasLayerinputType - Array of InputTypesInvalidKerasConfigurationException - Invalid Keras configCopyright © 2021. All rights reserved.