From Numpy Array to TC Tensor and vice versa #103
Replies: 3 comments 2 replies
-
Also do we have |
Beta Was this translation helpful? Give feedback.
-
i tested this in numpy and it worked
can we say that
|
Beta Was this translation helpful? Give feedback.
-
Hi Muhamed, there is a In general you can load a |
Beta Was this translation helpful? Give feedback.
-
if i have
X
with typenp.array
how can i convert it to be Tinychain Tensor formatSo i can use Tc.tensor methods ?
and for the opposite should i use
.flatten.tolist()
then cast it bynp.array()
Beta Was this translation helpful? Give feedback.
All reactions