# DynamicReLU **Repository Path**: tangkai2020/DynamicReLU ## Basic Information - **Project Name**: DynamicReLU - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-06 - **Last Updated**: 2021-01-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DynamicReLU Implementation of [Dynamic ReLU(types A,B)](https://arxiv.org/abs/2003.10027) 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 ```