File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -1195,6 +1195,27 @@ def add_vm_configvars():
1195
1195
)
1196
1196
1197
1197
1198
+ def add_deprecated_configvars ():
1199
+
1200
+ # TODO: remove this? Agree
1201
+ config .add (
1202
+ "unittests__rseed" ,
1203
+ "Seed to use for randomized unit tests. "
1204
+ "Special value 'random' means using a seed of None." ,
1205
+ StrParam (666 , validate = _good_seem_param ),
1206
+ in_c_key = False ,
1207
+ )
1208
+
1209
+ config .add (
1210
+ "warn__round" ,
1211
+ "Warn when using `tensor.round` with the default mode. "
1212
+ "Round changed its default from `half_away_from_zero` to "
1213
+ "`half_to_even` to have the same default as NumPy." ,
1214
+ BoolParam (_warn_default ("0.9" )),
1215
+ in_c_key = False ,
1216
+ )
1217
+
1218
+
1198
1219
def add_scan_configvars ():
1199
1220
config .add (
1200
1221
"scan__allow_gc" ,
@@ -1441,6 +1462,7 @@ def add_caching_dir_configvars():
1441
1462
# Blas-related config are a special pain-point, because their addition depends on a lot of stuff from
1442
1463
# that module, which introduces a circular dependency!
1443
1464
add_metaopt_configvars ()
1465
+ add_deprecated_configvars ()
1444
1466
add_vm_configvars ()
1445
1467
add_numba_configvars ()
1446
1468
You can’t perform that action at this time.
0 commit comments