[Tips]Torch功能点记录

1. Numpy矩阵转换Tensor:

tensor_num = torch.from_numpy(numpy_arr)

posted @ 2018-12-29 11:57  虚无真仙  阅读(213)  评论(0)    收藏  举报