Erase

Note

The C++ API provides RAII wrappers around the C API. For detailed documentation including parameters, return values, and limitations, please refer to the corresponding C API documentation.

inline explicit Erase(int32_t max_num_erasing_area)
inline ~Erase()
inline void operator()(cudaStream_t stream, const nvcv::Tensor &in, const nvcv::Tensor &out, const nvcv::Tensor &anchor, const nvcv::Tensor &erasing, const nvcv::Tensor &values, const nvcv::Tensor &imgIdx, bool random, uint32_t seed)
inline void operator()(cudaStream_t stream, const nvcv::ImageBatchVarShape &in, const nvcv::ImageBatchVarShape &out, const nvcv::Tensor &anchor, const nvcv::Tensor &erasing, const nvcv::Tensor &values, const nvcv::Tensor &imgIdx, bool random, uint32_t seed)
inline virtual NVCVOperatorHandle handle() const noexcept override
class Erase : public cvcuda::IOperator
#include <OpErase.hpp>