pytorch
文章平均质量分 92
IT捕快
这个作者很懒,什么都没留下…
展开
-
ubuntu下torch和libtorch和onnx和tvm转换操作
ubuntu下torch->onnx->tvm操作原创 2020-07-30 15:29:06 · 942 阅读 · 1 评论 -
tensor中数据类型的相互转换
tensor中数据类型的相互转换Pytorch中的Tensor常用的类型转换函数Pytorch中的Tensor常用的类型转换函数tensor数据类型转换在tensor的后面添加: .int()、.float()、.double()等.同时也可以使用 .to(type) 进行实现。同时也可以使用 type()函数 ,data为Tensor数据类型,data.type()为给出data的...原创 2020-05-06 18:54:30 · 8138 阅读 · 0 评论