t

to()

ConceptMentioned in 1 video

A tensor method in PyTorch used to move a tensor to a specified device (CPU or GPU).