KerasGaussianDropout
带GaussianDropout的DL4J dropout层的Keras包装器。
KerasGaussianDropout
public KerasGaussianDropout(Integer kerasVersion) throws UnsupportedKerasConfigurationException
![](https://img.haomeiwen.com/i14495907/0d129e1f297f72f3.gif)
从KerasLayer传递构造函数
- 参数 kerasVersion Keras主版本
- 抛出 UnsupportedKerasConfigurationException 不支持的 Keras 配置
getOutputType
public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException
![](https://img.haomeiwen.com/i14495907/52a4cb55a61b6d12.gif)
获取层输出类型
- 参数 inputType 输入类型数组
- 返回 按输入类型返回输出类型
- 抛出 InvalidKerasConfigurationException 无效的 Keras 配置
public KerasGaussianDropout(Map<String, Object> layerConfig)
throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
![](https://img.haomeiwen.com/i14495907/9d6ff2113068948a.gif)
来自解析的keras层配置字典的构造函数。
- 参数 layerConfig 包含keras层配置的字典
- 抛出 InvalidKerasConfigurationException 无效的 Keras 配置
- 抛出 UnsupportedKerasConfigurationException 不支持的无效的 Keras 配置
getGaussianDropoutLayer
public DropoutLayer getGaussianDropoutLayer()
![](https://img.haomeiwen.com/i14495907/2ac4492018919053.gif)
获取 带GaussianDropout的DL4J 的 dropout层
- 返回 DropoutLayer
KerasAlphaDropout
带AlphaDropout的DL4J 的 dropout层 的Keras包装器
KerasAlphaDropout
public KerasAlphaDropout(Integer kerasVersion) throws UnsupportedKerasConfigurationException
![](https://img.haomeiwen.com/i14495907/39ed68f8b0aa35f2.gif)
从KerasLayer传递构造函数
- 参数 kerasVersion Keras主版本
- 抛出 UnsupportedKerasConfigurationException 不支持的 Keras 配置
getOutputType
public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException
![](https://img.haomeiwen.com/i14495907/1b9fd344ab8ad25f.gif)
获取层输出类型
- 参数 inputType 输入类型数组
- 返回 按输入类型返回输出类型
- 抛出 InvalidKerasConfigurationException 无效的 Keras 配置
public KerasAlphaDropout(Map<String, Object> layerConfig)
throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
![](https://img.haomeiwen.com/i14495907/d82710819a2a533a.gif)
来自解析的keras层配置字典的构造函数。
- 参数 layerConfig 包含keras层配置的字典
- 抛出 InvalidKerasConfigurationException 无效的 Keras 配置
- 抛出 UnsupportedKerasConfigurationException 不支持的无效的 Keras 配置
getAlphaDropoutLayer
public DropoutLayer getAlphaDropoutLayer()
![](https://img.haomeiwen.com/i14495907/aab165bafd810611.gif)
获取带AlphaDropout的DL4J 的 dropout层
- 返回 DropoutLayer
KerasGaussianNoise
带GaussianNoise的DL4J 的 dropout层 的Keras包装器
KerasGaussianNoise
public KerasGaussianNoise(Integer kerasVersion) throws UnsupportedKerasConfigurationException
![](https://img.haomeiwen.com/i14495907/080e3ffd50795183.gif)
从KerasLayer传递构造函数
- 参数 kerasVersion Keras主版本
- 抛出 UnsupportedKerasConfigurationException 不支持的 Keras 配置
getOutputType
public InputType getOutputType(InputType... inputType) throws InvalidKerasConfigurationException
![](https://img.haomeiwen.com/i14495907/90daba929a4d29ee.gif)
获取层输出类型
- 参数 inputType 输入类型数组
- 返回 按输入类型返回输出类型
- 抛出 InvalidKerasConfigurationException 无效的 Keras 配置
public KerasGaussianNoise(Map<String, Object> layerConfig)
throws InvalidKerasConfigurationException, UnsupportedKerasConfigurationException
![](https://img.haomeiwen.com/i14495907/0a0b8ef74b449331.gif)
来自解析的keras层配置字典的构造函数。
- 参数 layerConfig 包含keras层配置的字典
- 抛出 InvalidKerasConfigurationException 无效的 Keras 配置
- 抛出 UnsupportedKerasConfigurationException 不支持的无效的 Keras 配置
getGaussianNoiseLayer
public DropoutLayer getGaussianNoiseLayer()
![](https://img.haomeiwen.com/i14495907/dafcd0928f5eb226.gif)
获取 带GaussianNoise的DL4J 的dropout层
- 返回 DropoutLayer
网友评论