automatic-differentiation

Issues with non-hashable static arguments when forming

Issues with non-hashable static arguments when forming Question: I have a vector-jacobian product that I want to compute. The function func takes four arguments, the final two of which are static: def func(variational_params, e, A, B): … return model_params, dlogp, … The function jits perfectly fine via func_jitted = jit(func, static_argnums=(2, 3)) The primals are …

Total answers: 1