ops.rst 961 Bytes
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
22
    batched_nms
    box_area
    box_convert
    box_iou
    clip_boxes_to_image
    deform_conv2d
23
24
    drop_block2d
    drop_block3d
25
    generalized_box_iou
26
    generalized_box_iou_loss
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
    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
49
    FrozenBatchNorm2d
50
51
    Conv2dNormActivation
    Conv3dNormActivation
52
    SqueezeExcitation
53
54
    DropBlock2d
    DropBlock3d