Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
a264d9ad
Unverified
Commit
a264d9ad
authored
Jun 22, 2020
by
chicm-ms
Committed by
GitHub
Jun 22, 2020
Browse files
Fix pylint error (#2585)
parent
a17632b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sdk/pynni/nni/bohb_advisor/config_generator.py
src/sdk/pynni/nni/bohb_advisor/config_generator.py
+1
-1
No files found.
src/sdk/pynni/nni/bohb_advisor/config_generator.py
View file @
a264d9ad
...
...
@@ -236,7 +236,7 @@ class CG_BOHB:
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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment