pytorch 生成单位张量torch.eye
摘要:
torch.eye(n, m=None, *, out=None, dtype=None, layout=torch.strided, device=None, requires_grad=False) → Tensor Returns a 2-D tensor with ones on the d 阅读全文
posted @ 2021-08-11 09:11 那抹阳光1994 阅读(405) 评论(0) 推荐(0) 编辑