会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
做梦当财神
首页
管理
2023年3月20日
transforms.ToTensor()
摘要: $torchvision.transforms.functional.py$ 中to_tensor()函数源码: def to_tensor(pic) -> Tensor: """Convert a ``PIL Image`` or ``numpy.ndarray`` to tensor. This
阅读全文
posted @ 2023-03-20 10:59 做梦当财神
阅读(126)
评论(0)
推荐(0)
编辑
公告