File size: 207 Bytes
94f372a
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
class DoNothingOptimizer(nn.Module):
    def __init__(self, *args, **kwargs):
        pass

    def step(self, *args, **kwargs):
        pass

    def zero_grad(self, *args, **kwargs):
        pass