(WIP) torchex library
torchex library provides advanced Neural Network Layers. You can easily use them like using original pytorch.
Installation
$ pip install torchex
Requirements
- Pytorch >= 1.0
Documentation
How to use
Lazy Style Model Definition
import torch
import torchex.nn as exnn
net = exnn.Linear(10)
# You don't need to give the size of input for this module.
# This network is equivalent to `nn.Linear(100, 10)`.
x = troch.randn(10, 100)
y = net(x)
torchex.nn list
torchex.nn.Passtorchex.nn.Flattentorchex.nn.Linear- Lazy style
torchex.nn.Conv1d- Lazy style
torchex.nn.Conv2d- Lazy style
torchex.nn.Conv3d- Lazy style
torchex.nn.Conv2dLocaltorchex.nn.GlobalAvgPool1dtorchex.nn.GlobalAvgPool2dtorchex.nn.GlobalMaxPool1dtorchex.nn.GlobalMaxPool2dtorchex.nn.MaxAvgPool2dtorch.nn.Crop2dtorch.nn.Crop3dtorch.nn.MLPConv2dtorch.nn.UpsampleConvLayertorch.nn.CordConv2dtorch.nn.DFT1dtorch.nn.DFT2dtorch.nn.PeriodicPad2dtorch.nn.PeriodicPad3dtorch.nn.Highwaytorch.nn.Inceptiontorch.nn.InceptionBNtorch.nn.IndRNNCelltorch.nn.IndRNNTanhCelltorch.nn.IndRNNReLuCelltorch.nn.IndRNNtorch.nn.GraphLineartorch.nn.GraphConvtorch.nn.SparseMMtorch.nn.GraphBatchNrom
torchex.data.transforms
torchex.data.transforms.PadRandomSifttorchex.data.transforms.RandomResize
torchex.data.attribute
for visualization
torchex.attribute.IntegratedGradients
Metadata
Release files for torchex 0.0.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| torchex-0.0.16.tar.gz | 29.8 kB | Without provenance | Details for torchex-0.0.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| torchex-0.0.16-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for torchex-0.0.16-py2.py3-none-any.whl |
Total release size: 76.0 kB
Release files / torchex-0.0.16.tar.gz
| Download URL | torchex-0.0.16.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba5e48a1573aeccaed30089f2082a0424fdba8b15efd15d523d9e101b3844bc6
|
|
BLAKE2b-256 checksum How to use checksums |
69c60f1c79ca5ad1abc12129b21e1ee041e3c10c219b2f0f1dc36723cde2616d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
|
Release files / torchex-0.0.16-py2.py3-none-any.whl
| Download URL | torchex-0.0.16-py2.py3-none-any.whl |
|---|---|
| Size | 46.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
be15107c1f0380101ad4a977df195574c1461a309f5371843606234f1b65c852
|
|
BLAKE2b-256 checksum How to use checksums |
cec4b866d920bfc1f03a824b0ba34591e337c92024102afd17eb3bbd6e590bc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
|
Security for torchex 0.0.16
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.