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

Function softmax_cpu

executor/operator/common/region.cpp:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void softmax_cpu(float* input, int n, int batch, int batch_offset, int groups, int stride, float* output)
81{
82 int g, b;
83 for(b = 0; b < batch; ++b)
84 {
85 for(g = 0; g < groups; ++g)
86 {
87 softmax(input + b * batch_offset + g, n, stride, output + b * batch_offset + g);
88 }
89 }
90}
91
92namespace TEngine {
93

Callers 1

RunMethod · 0.70

Calls 1

softmaxFunction · 0.70

Tested by

no test coverage detected