Skip to content

Commit

Permalink
Hide a pytorch warning in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xl0 committed Jun 28, 2024
1 parent a48d62d commit bbc80f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ named_numbers = numbers.rename("C", "H","W")
named_numbers
```

/home/xl0/mambaforge/envs/lovely-py31-torch25/lib/python3.10/site-packages/torch/_tensor.py:1420: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at ../c10/core/TensorImpl.h:1925.)
return super().rename(names)

tensor[C=3, H=196, W=196] n=115248 (0.4Mb) x∈[-2.118, 2.640] μ=-0.388 σ=1.073

## Going `.deeper`
Expand Down
8 changes: 0 additions & 8 deletions nbs/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -363,14 +363,6 @@
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/xl0/mambaforge/envs/lovely-py31-torch25/lib/python3.10/site-packages/torch/_tensor.py:1420: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at ../c10/core/TensorImpl.h:1925.)\n",
" return super().rename(names)\n"
]
},
{
"data": {
"text/plain": [
Expand Down

0 comments on commit bbc80f5

Please sign in to comment.