Skip to content

Commit

Permalink
fixing lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: kta-intel <[email protected]>
  • Loading branch information
kta-intel committed Jan 5, 2024
1 parent 202bf02 commit ce1ea7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions openfl-workspace/torch_cnn_mnist_fed_eval/src/pt_cnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import tqdm

from openfl.federated import PyTorchTaskRunner
Expand Down Expand Up @@ -96,7 +95,6 @@ def init_network(self,
print(self)
self.to(device)


def forward(self, x):
"""Forward pass of the model.
Expand Down Expand Up @@ -167,7 +165,6 @@ def validate(self, col_name, round_num, input_tensor_dict, use_tqdm=False, **kwa
# Empty list represents metrics that should only be stored locally
return output_tensor_dict, {}


def save_native(self, filepath):
"""
Save model in a picked file specified by the filepath.
Expand Down

0 comments on commit ce1ea7c

Please sign in to comment.