com.intel.analytics.zoo.pipeline.api.keras.layers
Int array of length 2 corresponding to the downscale vertically and horizontally. Default is (2, 2), which will halve the image in each dimension.
Int array of length 2. Stride values. Default is null, and in this case it will be equal to poolSize.
Either 'valid' or 'same'. Default is 'valid'.
Format of input data. Either DataFormat.NCHW (dimOrdering='th') or DataFormat.NHWC (dimOrdering='tf'). Default is NCHW.
A Single Shape, does not include the batch dimension.
Either 'valid' or 'same'.
Either 'valid' or 'same'. Default is 'valid'.
Format of input data.
Format of input data. Either DataFormat.NCHW (dimOrdering='th') or DataFormat.NHWC (dimOrdering='tf'). Default is NCHW.
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.
A Single Shape, does not include the batch dimension.
Int array of length 2 corresponding to the downscale vertically and horizontally.
Int array of length 2 corresponding to the downscale vertically and horizontally. Default is (2, 2), which will halve the image in each dimension.
Int array of length 2.
Int array of length 2. Stride values. Default is null, and in this case it will be equal to poolSize.
(Since version 0.3.0) please use recommended saveModule(path, overWrite)
Applies max pooling operation for spatial data. The input of this layer should be 4D.
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).
Numeric type of parameter(e.g. weight, bias). Only support float/double now.