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

Function Erase

python/mod_cvcuda/operators/OpErase.cpp:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59Tensor Erase(Tensor &input, Tensor &anchor, Tensor &erasing, Tensor &values, Tensor &imgIdx, bool random,
60 unsigned int seed, std::optional<Stream> pstream)
61{
62 Tensor output = Tensor::Create(input.shape(), input.dtype());
63
64 return EraseInto(output, input, anchor, erasing, values, imgIdx, random, seed, pstream);
65}
66
67ImageBatchVarShape EraseVarShapeInto(ImageBatchVarShape &output, ImageBatchVarShape &input, Tensor &anchor,
68 Tensor &erasing, Tensor &values, Tensor &imgIdx, bool random, unsigned int seed,

Callers

nothing calls this directly

Calls 3

EraseIntoFunction · 0.85
shapeMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected