Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tensor vs numpy array

A tensor is a more suitable choice if you’re going to be using GPU’s as it can reside in accelerators memory.
Tensors are similar to NumPy’s ndarrays, except that tensors can run on GPUs
or other specialized hardware to accelerate computing.
Tensors are immutable
 
PREVIOUS NEXT
Tagged: #tensor #numpy #array
ADD COMMENT
Topic
Name
4+1 =