mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-08-11 11:24:31 +08:00
fix test
This commit is contained in:
@@ -62,7 +62,7 @@ def test_distribution():
|
||||
*[data_entry[k] for k in input_names]
|
||||
)
|
||||
|
||||
assert distr.sample(num_samples).shape == (
|
||||
assert distr.sample(torch.Size([num_samples])).shape == (
|
||||
num_samples,
|
||||
batch_size,
|
||||
seq_len,
|
||||
|
||||
Reference in New Issue
Block a user