Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

DynamicReLU

Implementation of Dynamic ReLU(types A,B) on Pytorch.

Example

import torch.nn as nn
from dyrelu import DyReluB

class Model(nn.Module):
    def __init__(self):
        super(Model, self).__init__()
        self.conv1 = nn.Conv2d(3, 10, 5)
        self.relu = DyReLUB(10, conv_type='2d')

    def forward(self, x):
        x = self.conv1(x)
        x = self.relu(x)
        return x

About

Implementation of Dynamic ReLU on Pytorch

Topics

Resources

Stars

204 stars

Watchers

7 watching

Forks

Releases

Packages

Contributors

Languages