Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
static float elu(float a, float x) { return x > 0 ? x : a * std::expm1(x); }
34
35
TEST_CASE(elu_test)
36
{
Callers
1
TEST_CASE
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected