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 39a6c31 commit f70dd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/modeldiffs/criteo1tb_resnet/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ def key_transform(k):
if 'Embedding' in i:
return ('embedding_table',)
if 'ResNetBlock' in i:
i = i.replace('ResNetBlock', 'Dense')
name, count = i.split('_')
resnet_count = resnet_count + 1
continue
if 'Linear' in i:
i = i.replace('Linear', 'Dense')
name, count = i.split('_')
print(resnet_count)
i = name + '_' + str(s_count * 3 + int(resnet_count))
elif 'weight' in i:
i = i.replace('weight', 'kernel')
Expand Down

0 comments on commit f70dd49

Please sign in to comment.