摘要: 关于此函数的计算流程,详解如下: input1 = torch.tensor([[1, 2],[1,2]],dtype=torch.float) input2 = torch.tensor([[2, 4],[3,4]],dtype=torch.float) cos = nn.CosineSimila 阅读全文
posted @ 2022-10-08 15:24 little_power 阅读(2281) 评论(1) 推荐(2)