How does method listFrom() works?

Hi all,
as a question that I posted before, I would like to know how to use the method listFrom when passing a tensor to the method forward.
Could anyone make some example of use? Explaining with an example too, if possible, the type of input necessary, because I cannot really understand from the API.