Support softsign hypernetwork.

This commit is contained in:
comfyanonymous 2023-05-05 00:16:57 -04:00
parent bae4fb4a9d
commit 1a31020081
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ def load_hypernetwork_patch(path, strength):
"swish": torch.nn.Hardswish,
"tanh": torch.nn.Tanh,
"sigmoid": torch.nn.Sigmoid,
"softsign": torch.nn.Softsign,
}
if activation_func not in valid_activation: