You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In test_models_dbi.py and test_models_dbi_utils.py there are a some tests that are not using correctly the backend.
For example in the test test_gradient_descent (test_models_dbi.py), when the function gradient_descent is called (line 248) the backend is not passed to the function.
Using the default backend=None, the function _check_backend will set the default numpy backend.
When correctly using the backend some errors appears.
For example in line 133 of utils_dbr_strategies.py where the lines:
In test_models_dbi.py and test_models_dbi_utils.py there are a some tests that are not using correctly the backend.
For example in the test test_gradient_descent (test_models_dbi.py), when the function gradient_descent is called (line 248) the backend is not passed to the function.
Using the default backend=None, the function _check_backend will set the default numpy backend.
When correctly using the backend some errors appears.
For example in line 133 of utils_dbr_strategies.py where the lines:
params_new = backend.cast(d_params, copy=True)
params_new[i] += delta
Do not work with tensorflow (item assignment is not supported).
I am currently trying to fix the problem in #1276 however I nmay need some help as I don't know the DBI module.
The text was updated successfully, but these errors were encountered: