"...text-generation-inference.git" did not exist on "d6a93fe992bc932027df6f4a8f2b87c68d233f55"
Unverified Commit 2801a76d authored by Aditya Oke's avatar Aditya Oke Committed by GitHub
Browse files

Adds docs and Fixes Imports for ops and io (#2654)

* Adds docs and fixes improts for ops and io

* reverts io and init for images
parent 7f5b2c42
...@@ -10,6 +10,11 @@ torchvision.ops ...@@ -10,6 +10,11 @@ torchvision.ops
.. autofunction:: nms .. autofunction:: nms
.. autofunction:: batched_nms
.. autofunction:: remove_small_boxes
.. autofunction:: clip_boxes_to_image
.. autofunction:: box_area
.. autofunction:: box_iou
.. autofunction:: roi_align .. autofunction:: roi_align
.. autofunction:: ps_roi_align .. autofunction:: ps_roi_align
.. autofunction:: roi_pool .. autofunction:: roi_pool
......
...@@ -15,7 +15,6 @@ from .video import ( ...@@ -15,7 +15,6 @@ from .video import (
write_video, write_video,
) )
__all__ = [ __all__ = [
"write_video", "write_video",
"read_video", "read_video",
......
from .boxes import nms, box_iou from .boxes import nms, batched_nms, remove_small_boxes, clip_boxes_to_image, box_area, box_iou
from .new_empty_tensor import _new_empty_tensor from .new_empty_tensor import _new_empty_tensor
from .deform_conv import deform_conv2d, DeformConv2d from .deform_conv import deform_conv2d, DeformConv2d
from .roi_align import roi_align, RoIAlign from .roi_align import roi_align, RoIAlign
...@@ -14,7 +14,8 @@ _register_custom_op() ...@@ -14,7 +14,8 @@ _register_custom_op()
__all__ = [ __all__ = [
'deform_conv2d', 'DeformConv2d', 'nms', 'roi_align', 'RoIAlign', 'roi_pool', 'deform_conv2d', 'DeformConv2d', 'nms', 'batched_nms', 'remove_small_boxes',
'clip_boxes_to_image', 'box_area', 'box_iou', 'roi_align', 'RoIAlign', 'roi_pool',
'RoIPool', '_new_empty_tensor', 'ps_roi_align', 'PSRoIAlign', 'ps_roi_pool', 'RoIPool', '_new_empty_tensor', 'ps_roi_align', 'PSRoIAlign', 'ps_roi_pool',
'PSRoIPool', 'MultiScaleRoIAlign', 'FeaturePyramidNetwork' 'PSRoIPool', 'MultiScaleRoIAlign', 'FeaturePyramidNetwork'
] ]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment