CArgmaxLayer Class
June 14, 2020 ยท View on GitHub
This class implements a layer that finds, for a single input, the coordinates of the maximum elements along a given dimension.
Settings
Dimension
void SetDimension(TBlobDim d);
Sets the dimension along which the maximums should be found.
Trainable parameters
This layer has no trainable parameters.
Inputs
The single input accepts a blob of any size.
Outputs
The single output contains a blob with int data of the dimensions:
- the
GetDimension()dimension equals1 - the other dimensions are the same as in the input blob
The elements of the blob contain the coordinates of the maximums taken along the specified dimension.