Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list to tensor

pt_tensor_from_list = torch.FloatTensor(py_list)
Source by www.aiworkbox.com #
 
PREVIOUS NEXT
Tagged: #list #tensor
ADD COMMENT
Topic
Name
1+6 =