Dropout (Coarse) on HIP and HOST#676
Conversation
r-abishek
commented
Feb 20, 2026
- Adds Coarse Dropout augmentation on HIP and HOST
- Adds support for U8/F32/F16/I8 bit depths and NCHW/NHWC variants with toggle support
- Adds relevant unit / qa / performance tests
…all the bitdepths
…images in the docs
indentation modified
…ied QA for logic to implement random seed for non QA
There was a problem hiding this comment.
Pull request overview
This PR introduces a new tensor effects augmentation, coarse_dropout, with both HOST and HIP backend support, and wires it into the test suite and public API documentation.
Changes:
- Adds
rppt_coarse_dropout()public API and dispatch path (HOST + HIP). - Adds new HOST and HIP kernel implementations for coarse dropout.
- Updates test-suite augmentation registries and adds a dropout region initializer + QA/perf hooks.
Reviewed changes
Copilot reviewed 10 out of 13 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| utilities/test_suite/rpp_test_suite_image.h | Registers coarse_dropout and adds init_dropout_erase() helper for dropout box generation. |
| utilities/test_suite/common.py | Adds coarse_dropout to augmentation maps and effect lists for test automation. |
| utilities/test_suite/HOST/Tensor_image_host.cpp | Adds coarse_dropout execution path in host tensor test runner. |
| utilities/test_suite/HIP/Tensor_image_hip.cpp | Adds coarse_dropout execution path and pinned allocations in HIP tensor test runner. |
| src/modules/tensor/rppt_tensor_effects_augmentations.cpp | Adds rppt_coarse_dropout() entrypoint and backend dispatch. |
| src/modules/tensor/hip/kernel/coarse_dropout.cpp | Adds HIP kernels + executor for coarse dropout. |
| src/modules/tensor/cpu/kernel/coarse_dropout.cpp | Adds HOST kernel implementation for coarse dropout. |
| src/include/tensor/host_tensor_executors.hpp | Declares coarse_dropout_host_tensor() executor template. |
| src/include/tensor/hip_tensor_executors.hpp | Declares hip_exec_coarse_dropout_tensor() executor template. |
| docs/data/doxygenOutputs/effects_augmentation_coarse_dropout_img150x150.png.jpg | Adds documentation sample output asset for coarse dropout. |
| api/rppt_tensor_effects_augmentations.h | Documents and exposes rppt_coarse_dropout() in the public header. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #676 +/- ##
===========================================
+ Coverage 91.97% 92.54% +0.56%
===========================================
Files 204 206 +2
Lines 92299 92763 +464
===========================================
+ Hits 84892 85841 +949
+ Misses 7407 6922 -485
🚀 New features to boost your workflow:
|
Coarse Dropout - Resolved Copilot review comments
rrawther
left a comment
There was a problem hiding this comment.
Please address the review comments
rrawther
left a comment
There was a problem hiding this comment.
Some comments are still not resolved. PLease resolve all including copilot
comments are all resolved now |