Commit 481a4b4c authored by Yong Tang's avatar Yong Tang Committed by drpngx
Browse files

Update sample_distorted_bounding_box to use Tensor Input for min_object_covered (#10840)



* Update sample_distorted_bounding_box to use Tensor Input for min_object_covered

This fix tries to address the issue raised in #10715 where it was not possible
to use dynamic values for min_object_covered in sample_distorted_bounding_box.

This fix created an Op of SampleDistortedBoundingBoxV2 so that min_object_covered
takes input. SampleDistortedBoundingBox remains the same (min_object_covered as attr).

Additional test cases have been added.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Update API golden to pass api_compatibility_test

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 79e65acb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment