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

Function Rotate

python/mod_cvcuda/operators/OpRotate.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56Tensor Rotate(Tensor &input, double angleDeg, const std::tuple<double, double> &shift,
57 const NVCVInterpolationType interpolation, std::optional<Stream> pstream)
58{
59 Tensor output = Tensor::Create(input.shape(), input.dtype());
60
61 return RotateInto(output, input, angleDeg, shift, interpolation, pstream);
62}
63
64ImageBatchVarShape VarShapeRotateInto(ImageBatchVarShape &output, ImageBatchVarShape &input, Tensor &angleDeg,
65 Tensor &shift, NVCVInterpolationType interpolation, std::optional<Stream> pstream)

Callers

nothing calls this directly

Calls 3

RotateIntoFunction · 0.85
shapeMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected