Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm
/ ReLU
Class
ReLU
tests/python/relax/test_testing_nn.py:28–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
27
def
test_emit():
28
class
ReLU(nn.Module):
29
def
forward(self, input: relax.Expr) -> relax.Var:
30
return
nn.emit(relax.op.nn.relu(input))
31
32
@I.ir_module
33
class
Expected:
Callers
1
test_emit
Function · 0.70
Calls
no outgoing calls
Tested by
1
test_emit
Function · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…