Crop
Input
- size:
Attribute
- axis:
- Required: no
- Type: int (default = 2)
- Description: crops input tensor x to shape size.
axis determines the dimension from which the cropping starts and offsets determines the cropping offsets of the three dimensions. The cropped length corresponds to the length of the dimension size of x2. Example:
- axis = 1, offset = (25, 128, 128)
- C = A[:,25:25+size.shape[1],128:128+size.shape[2],128:128+size.shape[3]]
- Restrictions: none
- offset:
- Required: yes
- Type: ListInt
- Description: same as axis
- Restrictions: none
Parent topic: Supported Caffe Operators