ops.rst 839 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
    batched_nms
    box_area
    box_convert
    box_iou
    clip_boxes_to_image
    deform_conv2d
    generalized_box_iou
    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
46
47
48
    FrozenBatchNorm2d
    ConvNormActivation
    SqueezeExcitation