| 53 | } |
| 54 | |
| 55 | Tensor RandomResizedCrop(Tensor &input, const Shape &out_shape, double min_scale, double max_scale, double min_ratio, |
| 56 | double max_ratio, NVCVInterpolationType interp, uint32_t seed, std::optional<Stream> pstream) |
| 57 | { |
| 58 | Tensor output = Tensor::Create(out_shape, input.dtype(), input.shape().layout()); |
| 59 | |
| 60 | return RandomResizedCropInto(output, input, min_scale, max_scale, min_ratio, max_ratio, interp, seed, pstream); |
| 61 | } |
| 62 | |
| 63 | ImageBatchVarShape RandomResizedCropVarShapeInto(ImageBatchVarShape &output, ImageBatchVarShape &input, |
| 64 | double min_scale, double max_scale, double min_ratio, double max_ratio, |
nothing calls this directly
no test coverage detected