We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: dot(): argument 'tensor' (position 2) must be Tensor, not tuple Line 35 test_infection_functions.py: infs_feedback, Rt_adj = inf.compute_infections_from_rt_with_feedback( I0, Rt_raw, torch.zeros_like(Rt_raw), gen_int, inf_pmf ) Line 169 pyrenew/convolve.py (in _scanner): m_net1 = t1(m1 * torch.dot(arr1, history_subset)) history_subset = (tensor([2.3500e-01, 6.5230e+00, 1.0005e+05]), (tensor([0., 0., 0.]), tensor([0., 0., 0.]))) multipliers = (tensor([0., 0., 0., 0.]),)
=============== Explanation - history_subset in convolve.py is a tuple of two Tensors, instead of just one Tensor. Not sure where it's taking from.
history_subset
convolve.py
The text was updated successfully, but these errors were encountered:
No branches or pull requests
===============
Explanation -
history_subset
inconvolve.py
is a tuple of two Tensors, instead of just one Tensor. Not sure where it's taking from.The text was updated successfully, but these errors were encountered: