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

Commit

Permalink
Fix pylint error (#2585)
Browse files Browse the repository at this point in the history
  • Loading branch information
chicm-ms authored Jun 22, 2020
1 parent a17632b commit a264d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk/pynni/nni/bohb_advisor/config_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def get_config(self, budget):
return sample

def impute_conditional_data(self, array):
return_array = np.empty_like(array)
return_array = np.zeros(array.shape)
for i in range(array.shape[0]):
datum = np.copy(array[i])
nan_indices = np.argwhere(np.isnan(datum)).flatten()
Expand Down

0 comments on commit a264d9a

Please sign in to comment.