Int array of length 2. Height of the 2 cropping dimension. Default is (0, 0).
Int array of length 2. Width of the 2 cropping dimension. Default is (0, 0).
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.
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
Int array of length 2.
Int array of length 2. Height of the 2 cropping dimension. Default is (0, 0).
A Single Shape, does not include the batch dimension.
A Single Shape, does not include the batch dimension.
Int array of length 2.
Int array of length 2. Width of the 2 cropping dimension. Default is (0, 0).
(Since version 0.3.0) please use recommended saveModule(path, overWrite)
Cropping layer for 2D input (e.g. picture). 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.