We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf3111 commit d7ee92aCopy full SHA for d7ee92a
tests/bm_test.py
@@ -196,7 +196,7 @@ def train_and_eval_amortized_inference(
196
new_posterior_latent_idx=torch.arange(0, num_theta),
197
new_posterior_observed_idx=torch.arange(num_theta, num_theta + num_x),
198
)
199
- inputs = torch.cat([thetas.unsqueeze(-1), xs.unsqueeze(-1)], dim=1)
+ inputs = torch.cat([thetas, xs], dim=1)
200
inference.append_simulations(
201
inputs,
202
0 commit comments