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

Class Hardtanh2

tests/python/relax/test_frontend_from_exported_program.py:856–858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854 return self.ht(input)
855
856 class Hardtanh2(torch.nn.Module):
857 def forward(self, input):
858 return torch.nn.functional.hardtanh(input)
859
860 class Hardtanh3(torch.nn.Module):
861 def forward(self, input):

Callers 1

test_hardtanhFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_hardtanhFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…