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

Function Flip

python/mod_cvcuda/operators/OpFlip.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53Tensor Flip(Tensor &input, int32_t flipCode, std::optional<Stream> pstream)
54{
55 Tensor output = Tensor::Create(input.shape(), input.dtype());
56
57 return FlipInto(output, input, flipCode, pstream);
58}
59
60ImageBatchVarShape FlipVarShapeInto(ImageBatchVarShape &output, ImageBatchVarShape &input, Tensor &flipCode,
61 std::optional<Stream> pstream)

Callers

nothing calls this directly

Calls 3

FlipIntoFunction · 0.85
shapeMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected