Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
remove invisible symbols which can cause syntax error (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee authored and xuehui1991 committed Apr 3, 2019
1 parent afce6d4 commit e7d31ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sdk/pynni/nni/metis_tuner/metis_tuner.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ def update_search_space(self, search_space):
for key in search_space:
key_type = search_space[key]['_type']
key_range = search_space[key]['_value']
idx = self.key_order.index(key) )

idx = self.key_order.index(key)
if key_type == 'quniform':
if key_range[2] == 1:
self.x_bounds[idx] = [key_range[0], key_range[1]]
Expand Down

0 comments on commit e7d31ab

Please sign in to comment.