文档中心parseBack to Top to_tensor() Function UsageConverts an Image object into a Tensor object. Output Parameter DescriptionReturns the tensor. Parent topic: Image