MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / elu

Function elu

test/ref/elu.cpp:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#include <test.hpp>
32
33static float elu(float a, float x) { return x > 0 ? x : a * std::expm1(x); }
34
35TEST_CASE(elu_test)
36{

Callers 1

TEST_CASEFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected