This tutorial introduces Pyro's organization of tensor dimensions. ... d = Bernoulli(torch.tensor([0.1, 0.2, 0.3, 0.4])).expand([3, 4]) assert d.batch_shape ...
確定! 回上一頁