_activations.py (212B)
1 # File: _activations.py 2 # Created Date: Friday July 29th 2022 3 # Author: Steven Atkinson ([email protected]) 4 5 import torch.nn as _nn 6 7 8 def get_activation(name: str) -> _nn.Module: 9 return getattr(_nn, name)()
![]() | neural-amp-modelerNeural network emulator for guitar amplifiers |
Log | Files | Refs | README | LICENSE |