Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/ffcv_examples/cifar10.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ For the model, we use a custom ResNet-9 architecture from `KakaoBrain <https://g

class Mul(ch.nn.Module):
def __init__(self, weight):
super(Mul, self).__init__()
self.weight = weight
super(Mul, self).__init__()
self.weight = weight
def forward(self, x): return x * self.weight

class Flatten(ch.nn.Module):
Expand Down