.. role:: hidden :class: hidden-section .. currentmodule:: torchvision.transforms.functional to_tensor ========= .. autofunction:: to_tensor