Random Resized Crop

group NVCV_CPP_ALGORITHM_RANDOMRESIZEDCROP

Functions

inline explicit RandomResizedCrop(double minScale, double maxScale, double minRatio, double maxRatio, int32_t maxBatchSize, uint32_t seed)
inline ~RandomResizedCrop()
inline void operator()(cudaStream_t stream, const nvcv::Tensor &in, const nvcv::Tensor &out, const NVCVInterpolationType interpolation)
inline void operator()(cudaStream_t stream, const nvcv::ImageBatchVarShape &in, const nvcv::ImageBatchVarShape &out, const NVCVInterpolationType interpolation)
inline virtual NVCVOperatorHandle handle() const noexcept override

Variables

NVCVOperatorHandle m_handle
class RandomResizedCrop : public cvcuda::IOperator
#include <OpRandomResizedCrop.hpp>