Added scientific notation on set_printoptions (#16876)
authorIvan Ogasawara <ivan.ogasawara@gmail.com>
Mon, 11 Feb 2019 12:52:06 +0000 (04:52 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 11 Feb 2019 12:55:12 +0000 (04:55 -0800)
commit8b4dea3f56a2c5791c4f4b332c6c6a2311984365
tree5a3a1f948f07b3030f1978ad6bed9650e2a48eb4
parent4335aac6e62c16e13770fe65d1bd365948a849fe
Added scientific notation on set_printoptions (#16876)

Summary:
This PR fixes #15683
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16876

Differential Revision: D14021703

Pulled By: soumith

fbshipit-source-id: 1f603a7d24e331831d8d389f4a704c6a5b070b0c
test/test_torch.py
torch/_tensor_str.py