The dimension to select. 0-based index. Cannot select the batch dimension. -1 means the last dimension of the input.
The index of the dimension to be selected. 0-based index. -1 means the last dimension of the input.
A Single Shape, does not include the batch dimension.
The dimension to select.
The dimension to select. 0-based index. Cannot select the batch dimension. -1 means the last dimension of the input.
Build graph: some other modules point to current module
Build graph: some other modules point to current module
upstream variables
Variable containing current module
The index of the dimension to be selected.
The index of the dimension to be selected. 0-based index. -1 means the last dimension of the input.
A Single Shape, does not include the batch dimension.
(Since version 0.3.0) please use recommended saveModule(path, overWrite)
Select an index of the input in the given dim and return the subset part. The batch dimension needs to be unchanged. For example, if input is: 1 2 3 4 5 6 Select(1, 1) will give output [2 5] Select(1, -1) will give output [3 6]
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.
Numeric type of parameter(e.g. weight, bias). Only support float/double now.