How to set output format?

jupyter: My output format is just like picture here.

i wonder how to set to the following format.

0.2355 0.8276 0.6279 -2.3826
0.3533 1.3359 0.1627 1.7314
[torch.FloatTensor of size 2x4]

thank you!

There was a discussion in this thread about this topic.
Currently you could just use print(a, a.type(), a.size()).

Thank you!
You have solved my doubt perfectly!