lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello Everyone,

I have an object which was serialized to string using numpy. Normally to deserialize the object we use numpy's "fromstring" method in python. 

Is there anyway that we can use these serialized numpy objects in Lua. I mean what is the equivalent method for numpy's "fromstring" method in Tensor. 

I referred the below link and found that there is no specific equivalent for "fromstring" method.

https://github.com/torch/torch7/wiki/Torch-for-Numpy-users#from-existing-data

Does it mean we cannot implement it or is it difficult to implement.

Please let me know your thoughts on this. Thanks for your time and help.

-
Regards,
Sravan