MCPcopy Create free account
hub / github.com/apache/tvm / Softplus0

Class Softplus0

tests/python/relax/test_frontend_from_exported_program.py:891–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889 torch.set_grad_enabled(False)
890
891 class Softplus0(torch.nn.Module):
892 def __init__(self):
893 super().__init__()
894 self.softplus = torch.nn.Softplus(1.0, 20.0)
895
896 def forward(self, x):
897 return self.softplus(x)
898
899 class Softplus1(Module):
900 def forward(self, input):

Callers 1

test_softplusFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_softplusFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…