Skip to content

Commit cf99a04

Browse files
committed
fix bits parameter in init function
1 parent 81e32b4 commit cf99a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_modelsize.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def __init__(self, model, input_size=(1,1,32,32), bits=32):
1212
'''
1313
self.model = model
1414
self.input_size = input_size
15-
self.bits = 32
15+
self.bits = bits
1616
return
1717

1818
def get_parameter_sizes(self):

0 commit comments

Comments
 (0)