{"type":"rich","published":"2025-12-26 19:19:17","provider_url":"https://hatena.blog","blog_url":"https://en.bioerrorlog.work/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fen.bioerrorlog.work%2Fentry%2Fpytorch-tensor-vs-tensor-class\" title=\" Difference Between torch.tensor() and torch.Tensor() in PyTorch - BioErrorLog Tech Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"BioErrorLog Tech Blog","categories":["AI","Python"],"width":"100%","author_url":"https://blog.hatena.ne.jp/BioErrorLog/","title":" Difference Between torch.tensor() and torch.Tensor() in PyTorch","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/B/BioErrorLog/20240303/20240303204156.png","version":"1.0","description":"This is a quick reference note on the differences between torch.tensor() and torch.Tensor(). Introduction Differences Between torch.tensor and torch.Tensor In Short In Detail Note: Creating Empty Tensors Conclusion References Introduction When creating tensors in PyTorch, the torch.tensor() method i\u2026","provider_name":"Hatena Blog","author_name":"BioErrorLog","url":"https://en.bioerrorlog.work/entry/pytorch-tensor-vs-tensor-class"}