You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with random values for all but the last dimension and with two values (say 0 and 1) for the last dimension. I know how to do it with write, but I'm (very) concerned about the memory footprint of the code.
What is the least memory hungry approach?
Thanks!
The text was updated successfully, but these errors were encountered:
I would like to fill this tensor
with random values for all but the last dimension and with two values (say 0 and 1) for the last dimension. I know how to do it with
write
, but I'm (very) concerned about the memory footprint of the code.What is the least memory hungry approach?
Thanks!
The text was updated successfully, but these errors were encountered: