摘要: torch.cat((TensorA,TensorB))在连接两个不同类型的Tensor的时候会发生类型转换,转换表如下 表的行列按照优先级排列 需要注意的是这个优先级可能会导致数据的溢出,如 [In] torch.cat((torch.LongTensor([1<<31]),torch.HalfT 阅读全文
posted @ 2021-09-26 19:41 e-yi 阅读(0) 评论(0) 推荐(0) 编辑