個包装だんごとしてみる torch.Tensor ― #2. torch.cat と torch.stack と x.repeat と x.unfold - Qiita

個包装だんごとしてみる torch.Tensor シリーズの目次はこちら この記事での約束 0 階のテンソル x.shape == () を、箱に入っていないだんごとします (スカラー)。 1 階のテンソル x.shape == (a,) を、a 個入りだんごの箱...