摘要: $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) 编辑