MCPcopy Create free account
hub / github.com/Francis-Rings/MotionFollower / Mish

Class Mish

src/models/resnet.py:243–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241
242
243class Mish(torch.nn.Module):
244 def forward(self, hidden_states):
245 return hidden_states * torch.tanh(torch.nn.functional.softplus(hidden_states))

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected