ops.rst 1.03 KB
Newer Older
1
2
.. _ops:

3
4
Operators
=========
5
6
7
8
9
10

.. currentmodule:: torchvision.ops

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

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

13
14
15
.. autosummary::
    :toctree: generated/
    :template: function.rst
16

17
18
19
20
21
    batched_nms
    box_area
    box_convert
    box_iou
    clip_boxes_to_image
Abhijit Deo's avatar
Abhijit Deo committed
22
23
    complete_box_iou
    complete_box_iou_loss
24
    deform_conv2d
25
26
    drop_block2d
    drop_block3d
27
    generalized_box_iou
28
    generalized_box_iou_loss
Yassine Alouini's avatar
Yassine Alouini committed
29
30
    distance_box_iou
    distance_box_iou_loss
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
    masks_to_boxes
    nms
    ps_roi_align
    ps_roi_pool
    remove_small_boxes
    roi_align
    roi_pool
    sigmoid_focal_loss
    stochastic_depth

.. autosummary::
    :toctree: generated/
    :template: class.rst

    RoIAlign
    PSRoIAlign
    RoIPool
    PSRoIPool
    DeformConv2d
    MultiScaleRoIAlign
    FeaturePyramidNetwork
    StochasticDepth
53
    FrozenBatchNorm2d
54
55
    Conv2dNormActivation
    Conv3dNormActivation
56
    SqueezeExcitation
57
58
    DropBlock2d
    DropBlock3d