com.intel.analytics.zoo.pipeline.api.keras.layers
Build graph: some other modules point to current module
Build graph: some other modules point to current module
upstream variables
Variable containing current module
A Single Shape, does not include the batch dimension.
The maximum threshold value.
The maximum threshold value. Default is 1.
The minimum threshold value.
The minimum threshold value. Default is -1.
(Since version 0.3.0) please use recommended saveModule(path, overWrite)
Applies the hard tanh function element-wise to the input.
⎧ maxValue, if x > maxValue f(x) = ⎨ minValue, if x < minValue ⎩ x, otherwise
When you use this layer as the first layer of a model, you need to provide the argument inputShape (a Single Shape, does not include the batch dimension).
Remark: This layer is from Torch and wrapped in Keras style.
The numeric type of parameter(e.g. weight, bias). Only support float/double now.