ops.rst 849 Bytes
Newer Older
1
2
3
4
5
6
7
8
torchvision.ops
===============

.. currentmodule:: torchvision.ops

:mod:`torchvision.ops` implements operators that are specific for Computer Vision.

.. note::
9
  All operators have native support for TorchScript.
10
11
12


.. autofunction:: nms
13
14
15
.. autofunction:: batched_nms
.. autofunction:: remove_small_boxes
.. autofunction:: clip_boxes_to_image
16
.. autofunction:: box_convert
17
18
.. autofunction:: box_area
.. autofunction:: box_iou
Aditya Oke's avatar
Aditya Oke committed
19
.. autofunction:: generalized_box_iou
20
.. autofunction:: roi_align
21
.. autofunction:: ps_roi_align
22
.. autofunction:: roi_pool
23
24
.. autofunction:: ps_roi_pool
.. autofunction:: deform_conv2d
Aditya Oke's avatar
Aditya Oke committed
25
.. autofunction:: sigmoid_focal_loss
26
27

.. autoclass:: RoIAlign
28
.. autoclass:: PSRoIAlign
29
.. autoclass:: RoIPool
30
31
32
33
.. autoclass:: PSRoIPool
.. autoclass:: DeformConv2d
.. autoclass:: MultiScaleRoIAlign
.. autoclass:: FeaturePyramidNetwork