File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1002,8 +1002,8 @@ def name_from_config(config):
1002
1002
'Dinit%s' % config ['D_init' ],
1003
1003
'G%s' % config ['G_param' ] if config ['G_param' ] != 'SN' else None ,
1004
1004
'D%s' % config ['D_param' ] if config ['D_param' ] != 'SN' else None ,
1005
- 'Gattn%s' % config ['G_attn' ] if config ['G_attn' ] is not '0' else None ,
1006
- 'Dattn%s' % config ['D_attn' ] if config ['D_attn' ] is not '0' else None ,
1005
+ 'Gattn%s' % config ['G_attn' ] if config ['G_attn' ] != '0' else None ,
1006
+ 'Dattn%s' % config ['D_attn' ] if config ['D_attn' ] != '0' else None ,
1007
1007
'Gortho%2.1e' % config ['G_ortho' ] if config ['G_ortho' ] > 0.0 else None ,
1008
1008
'Dortho%2.1e' % config ['D_ortho' ] if config ['D_ortho' ] > 0.0 else None ,
1009
1009
config ['norm_style' ] if config ['norm_style' ] != 'bn' else None ,
You can’t perform that action at this time.
0 commit comments