public class KerasMerge extends KerasLayer
KerasLayer.DimOrderclassName, conf, dimOrder, dropout, inboundLayerNames, inputShape, kerasMajorVersion, layer, layerName, originalLayerConfig, outboundLayerNames, vertex, weightL1Regularization, weightL2Regularization, weights| Constructor and Description |
|---|
KerasMerge(Integer kerasVersion)
Pass-through constructor from KerasLayer
|
KerasMerge(Map<String,Object> layerConfig)
Constructor from parsed Keras layer configuration dictionary.
|
KerasMerge(Map<String,Object> layerConfig,
boolean enforceTrainingConfig)
Constructor from parsed Keras layer configuration dictionary.
|
KerasMerge(Map<String,Object> layerConfig,
ElementWiseVertex.Op mergeMode,
boolean enforceTrainingConfig)
Constructor from parsed Keras layer configuration dictionary and merge mode passed in.
|
| Modifier and Type | Method and Description |
|---|---|
InputType |
getOutputType(InputType... inputType)
Get layer output type.
|
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 KerasMerge(Integer kerasVersion) throws UnsupportedKerasConfigurationException
kerasVersion - major keras versionUnsupportedKerasConfigurationException - Unsupported Keras configpublic KerasMerge(Map<String,Object> layerConfig) throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
layerConfig - dictionary containing Keras layer configuration.InvalidKerasConfigurationException - Invalid Keras configUnsupportedKerasConfigurationException - Unsupported Keras configpublic KerasMerge(Map<String,Object> layerConfig, ElementWiseVertex.Op mergeMode, boolean enforceTrainingConfig) throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
layerConfig - dictionary containing Keras layer configurationmergeMode - ElementWiseVertex merge modeenforceTrainingConfig - whether to enforce training-related configuration optionsInvalidKerasConfigurationException - Invalid Keras configUnsupportedKerasConfigurationException - Unsupported Keras configpublic KerasMerge(Map<String,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 InputType getOutputType(InputType... inputType)
getOutputType in class KerasLayerinputType - Array of InputTypesCopyright © 2021. All rights reserved.