Commit 1655d0a
Update Polynomial Tensor example with torch api (#3884)
Fixes# #3879
## Description
torch.pi available since PyTorch 1.8.0 so use it instead of extra math
call.
The changes made are tested and made sure that it produce the desired
output.
Signed-off-by: Sahdev Zala <spzala@us.ibm.com>
Co-authored-by: sekyondaMeta <127536312+sekyondaMeta@users.noreply.github.com>
Co-authored-by: Svetlana Karslioglu <svekars@meta.com>1 parent 052123a commit 1655d0a
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
30 | | - | |
| 28 | + | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
0 commit comments