fix-torch-0.0.3
توضیحات
Quality of life improvements for pytorch.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fix-torch-0.0.3 |
| نام | fix-torch |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Johan Edstedt |
| ایمیل نویسنده | johan.edstedt@liu.se |
| آدرس صفحه اصلی | https://github.com/Parskatt/fix_torch |
| آدرس اینترنتی | https://pypi.org/project/fix-torch/ |
| مجوز | - |
# fix_torch
Quality of Life improvements for pytorch
Basically a combination of monkey-patches and additional functionality which is missing from pytorch.
Use at your own *peril* :o
## Examples
```python
import fix_torch
import torch
x = torch.randn(13,127,12,3)
y = torch.randn(13,127,3,17)
v = torch.randn(8,4,4)
z = x@y # do bmm without torch being annoying about it
tr = torch.trace(v) # do trace on batched matrices
w = x.reshape(...,4,3,3)
```
نیازمندی
| مقدار | نام |
|---|---|
| - | torch |
| - | torchvision |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl fix-torch-0.0.3:
pip install fix-torch-0.0.3.whl
نصب پکیج tar.gz fix-torch-0.0.3:
pip install fix-torch-0.0.3.tar.gz