lua-users home
lua-l archive

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



Le 2 févr. 2015 à 22:47, Sravan Kumar Reddy Javaji <sravan2j@gmail.com> a écrit :

what is the equivalent method for numpy's "fromstring" method in Tensor

In addition to Valerio answer, and to answer specifically to the question above, the equivalent is torch.deserialize[1].

Cédric

[1]: https://github.com/torch/torch7/blob/master/doc/serialization.md#object-torchdeserializestr--format