MCPcopy Create free account
hub / github.com/OAID/Tengine / _axpy_half

Function _axpy_half

executor/operator/common/rpn.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 Y[i] -= X[i];
58}
59void _axpy_half(const int N, const float* X, float* Y)
60{
61 for(int i = 0; i < N; i++)
62 Y[i] += 0.5 * X[i];
63}
64void _add_one(const int N, float* Y)
65{
66 for(int i = 0; i < N; i++)

Callers 1

bbox_tranform_invFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected