Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Nov 18, 2023
1 parent f70dd49 commit 0966015
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/modeldiffs/criteo1tb_resnet/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
def key_transform(k):
print('key transform: ')
new_key = []
s_count = 0
resnet_count = 0
s_count = None
resnet_count = None
print(k)
for i in k:
print(f'in transform {i}')
Expand All @@ -30,7 +30,7 @@ def key_transform(k):
return ('embedding_table',)
if 'ResNetBlock' in i:
name, count = i.split('_')
resnet_count = resnet_count + 1
resnet_count = int(count)
continue
if 'Linear' in i:
i = i.replace('Linear', 'Dense')
Expand Down

0 comments on commit 0966015

Please sign in to comment.