import torch
x = torch.randn(2, 3)
x = x.cuda()

print (x)
#最简单的cuda使用,但是感觉好慢啊

最新文章

  1. SDN/NFV运营商商业化部署
  2. javaweb初学记录
  3. FATAL: ActionView::Template::Error (application.css isn't precompiled):
  4. Grid Infrastructure Single Client Access Name (SCAN) Explained (文档 ID 887522.1)
  5. (转)android屏幕适配
  6. Support Library(5)在eclipse中导入SupportXXXDemos
  7. JLINK烧写BIN文件到nand、norflash、SDRAM
  8. ArcMap制图_显示指定区域地图内容
  9. 在CDockablePane中嵌入CFormView
  10. shiro使用教程
  11. Vulkan Tutorial 17 Rendering and presentation
  12. 读外部存储的权限READ_EXTERNAL_STORAGE
  13. HBase BulkLoad批量写入数据实战
  14. (办公)TOKEN
  15. ffmpeg日志调式
  16. jQuery dataTables 列不对齐的原因
  17. Y7000联想拯救者gtx1050Ti安装cuda9.0
  18. JAVA框架Struts2--配置讲解
  19. sublime text3 --前端工程师必备
  20. poj1611 The Suspects(并查集)

热门文章

  1. 使用html和CSS进行网页网站设计 -- 简明步骤
  2. Java的Guava
  3. spring boot 自定义异常
  4. Spring MVC 重定向
  5. Linux&Unix命令
  6. 遍历Datatable
  7. C#--反射技术
  8. H5新标签
  9. python引用,浅复制,深复制
  10. jquery 阻止冒泡事件和阻止默认事件