Skip to content

Commit

Permalink
Remove unnecessary imports (#56)
Browse files Browse the repository at this point in the history
* Remove unnecessary imports
  • Loading branch information
Tobias-Fischer committed Apr 19, 2022
1 parent e680722 commit fa716c3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tutorials/lava/lib/dl/slayer/pilotnet/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright © 2021 Intel Corporation.
# Copyright © 2022 Intel Corporation.
#
# This software and the related documents are Intel copyrighted
# materials, and your use of them is governed by the express
Expand All @@ -17,8 +17,6 @@
import h5py

import torch
from torch.utils.data import DataLoader
from torchvision import transforms
import torch.nn.functional as F

class Assistant:
Expand Down Expand Up @@ -123,4 +121,4 @@ def compare_ops(net, counts, mse):
print(f'MSE : {mse:.5} sq. radians')
print(f'Total neurons : {total_neurons}')
print(f'Events sparsity: {total_ann_activs/total_events:5.2f}x')
print(f'Synops sparsity: {total_ann_synops/total_synops:5.2f}x')
print(f'Synops sparsity: {total_ann_synops/total_synops:5.2f}x')

0 comments on commit fa716c3

Please sign in to comment.