clip_boxes_to_image {torchvision} | R Documentation |
Clip Boxes to Image
Description
Clip boxes so that they lie inside an image of size size
.
Usage
clip_boxes_to_image(boxes, size)
Arguments
boxes |
(Tensor[N, 4]): boxes in
|
size |
(Tuple[height, width]): size of the image |
Value
clipped_boxes (Tensor[N, 4])
[Package torchvision version 0.7.0 Index]