The title name "torch" Are you on the right mailing list? This is Theano
mailing list.

a float always take only 4 bytes. But depending of how you count, there is
overhead for the structure of the numpy.ndarray that surround it. There is
also question of memory alignment. So depending of how you measures it, you
probably didn't measure what you wanted.

A beter measure would be to allocate a vector of 1 element, then a vector
of 2 elements and substract both value.

Fred

On Wed, Jan 25, 2017 at 1:58 PM, Helson Lee <[email protected]> wrote:

> It seems like float32 in gpu is 4 bytes.
> But in cpu mode, it costs 12 bytes in RAM and HDD.
> I just didn't get it. Why?
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "theano-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to