Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
plutonium-239 committed Apr 13, 2024
1 parent 7826b8c commit 121b5ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
1 change: 1 addition & 0 deletions experiments/paper_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
architecture,
vjp_improvements,
cases,
'results'
)

for model in models:
Expand Down
2 changes: 1 addition & 1 deletion memsave_torch/nn/Conv1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import torch
import torch.nn as nn
from Conv2d import _MemSaveConv
from memsave_torch.nn.Conv2d import _MemSaveConv


class MemSaveConv1d(nn.Conv1d):
Expand Down
10 changes: 1 addition & 9 deletions memsave_torch/nn/ReLU.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,7 @@ class MemSaveReLU(nn.ReLU):
"""MemSaveReLU."""

def __init__(self):
"""Inits a MemSaveReLU layer with the given params.
Args:
in_features: in_features
out_features: out_features
bias: bias
device: device
dtype: dtype
"""
"""Inits a MemSaveReLU layer with the given params."""
super().__init__()

def forward(self, x):
Expand Down

0 comments on commit 121b5ff

Please sign in to comment.