Unverified Commit e68d6b03 authored by chengjuzhou's avatar chengjuzhou Committed by GitHub
Browse files

correct the size of returned tensor in comments of ps_roi_pool.py and ps_roi_align.py (#3849)



* correct the size of returne tensor

* Styling changes
Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
parent 541e0f13
...@@ -39,7 +39,7 @@ def ps_roi_align( ...@@ -39,7 +39,7 @@ def ps_roi_align(
``ceil(roi_width / output_width)``, and likewise for height). Default: -1 ``ceil(roi_width / output_width)``, and likewise for height). Default: -1
Returns: Returns:
Tensor[K, C, output_size[0], output_size[1]]: The pooled RoIs Tensor[K, C / (output_size[0] * output_size[1]), output_size[0], output_size[1]]: The pooled RoIs
""" """
_assert_has_ops() _assert_has_ops()
check_roi_boxes_shape(boxes) check_roi_boxes_shape(boxes)
......
...@@ -33,7 +33,7 @@ def ps_roi_pool( ...@@ -33,7 +33,7 @@ def ps_roi_pool(
the box coordinates. Default: 1.0 the box coordinates. Default: 1.0
Returns: Returns:
Tensor[K, C, output_size[0], output_size[1]]: The pooled RoIs. Tensor[K, C / (output_size[0] * output_size[1]), output_size[0], output_size[1]]: The pooled RoIs.
""" """
_assert_has_ops() _assert_has_ops()
check_roi_boxes_shape(boxes) check_roi_boxes_shape(boxes)
......
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