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

Function Normalize

python/mod_cvcuda/operators/OpNormalize.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66Tensor Normalize(Tensor &input, Tensor &base, Tensor &scale, std::optional<uint32_t> flags, float globalScale,
67 float globalShift, float epsilon, std::optional<Stream> pstream)
68{
69 Tensor output = Tensor::Create(input.shape(), input.dtype());
70
71 return NormalizeInto(output, input, base, scale, flags, globalScale, globalShift, epsilon, pstream);
72}
73
74ImageBatchVarShape VarShapeNormalizeInto(ImageBatchVarShape &output, ImageBatchVarShape &input, Tensor &base,
75 Tensor &scale, std::optional<uint32_t> flags, float globalScale,

Callers

nothing calls this directly

Calls 3

NormalizeIntoFunction · 0.85
shapeMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected