Skip to content

add a testcase for printing tensors on xla#789

Merged
asuhan merged 1 commit intopytorch:masterfrom
ailzhang:test_print_xla
Jun 29, 2019
Merged

add a testcase for printing tensors on xla#789
asuhan merged 1 commit intopytorch:masterfrom
ailzhang:test_print_xla

Conversation

@ailzhang
Copy link
Copy Markdown
Contributor

@ailzhang ailzhang commented Jun 28, 2019

pytorch/pytorch#22094 has landed, and now printing xla tensors will show device=xla to make it look different from cpu tensors.
Add a test case here to prevent regression.

@ailzhang ailzhang requested review from asuhan and dlibenzi June 28, 2019 23:02
@asuhan asuhan merged commit 806920e into pytorch:master Jun 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants