File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ def apply_condition(config, data):
227227 if dp_pad_step > 1 :
228228 config ['CELL_PAD_IN_SITES_DETAIL_PLACEMENT' ] = tune .sample_from (
229229 lambda spec : tune .choice (
230- np .adarray .tolist (
230+ np .ndarray .tolist (
231231 np .arange (
232232 dp_pad_min ,
233233 spec .config .CELL_PAD_IN_SITES_GLOBAL_PLACEMENT +
@@ -248,15 +248,15 @@ def read_tune(this):
248248 if this ['step' ] == 1 :
249249 return tune .randint (min_ , max_ )
250250 return tune .choice (
251- np .adarray .tolist (
251+ np .ndarray .tolist (
252252 np .arange (min_ ,
253253 max_ ,
254254 this ['step' ])))
255255 if this ['type' ] == 'float' :
256256 if this ['step' ] == 0 :
257257 return tune .uniform (min_ , max_ )
258258 return tune .choice (
259- np .adarray .tolist (
259+ np .ndarray .tolist (
260260 np .arange (min_ ,
261261 max_ ,
262262 this ['step' ])))
@@ -280,7 +280,7 @@ def read_tune_ax(name, this):
280280 elif this ['type' ] == 'float' :
281281 if this ['step' ] == 1 :
282282 dict_ ["type" ] = "choice"
283- dict_ ["values" ] = tune .choice (np .adarray .tolist (
283+ dict_ ["values" ] = tune .choice (np .ndarray .tolist (
284284 np .arange (min_ ,
285285 max_ ,
286286 this ['step' ])))
You can’t perform that action at this time.
0 commit comments