MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / PillowResize

Function PillowResize

python/mod_cvcuda/operators/OpPillowResize.cpp:206–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206Tensor PillowResize(Tensor &input, const Shape &out_shape, nvcv::ImageFormat format, NVCVInterpolationType interp,
207 std::optional<Stream> pstream)
208{
209 Tensor output = Tensor::Create(out_shape, input.dtype(), input.layout());
210
211 return PillowResizeInto(output, input, format, interp, pstream);
212}
213
214ImageBatchVarShape VarShapePillowResizeInto(ImageBatchVarShape &output, ImageBatchVarShape &input,
215 NVCVInterpolationType interpolation, std::optional<Stream> pstream)

Callers

nothing calls this directly

Calls 3

PillowResizeIntoFunction · 0.85
dtypeMethod · 0.45
layoutMethod · 0.45

Tested by

no test coverage detected