Use ACT2FN to fetch ReLU activation (#16874)
- all activations should be fetched through ACT2FN - it returns ReLU as `nn.Module`, which allows attaching hooks on the activation function and prints it to stdout when `print(model)`
Showing
Please register or sign in to comment