Pytorch Extension Module.
Project description
(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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
torchex-0.0.16.tar.gz
(29.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file torchex-0.0.16.tar.gz.
File metadata
- Download URL: torchex-0.0.16.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba5e48a1573aeccaed30089f2082a0424fdba8b15efd15d523d9e101b3844bc6
|
|
| MD5 |
266d7a5e703e37efc94dc9275b055b92
|
|
| BLAKE2b-256 |
69c60f1c79ca5ad1abc12129b21e1ee041e3c10c219b2f0f1dc36723cde2616d
|
File details
Details for the file torchex-0.0.16-py2.py3-none-any.whl.
File metadata
- Download URL: torchex-0.0.16-py2.py3-none-any.whl
- Upload date:
- Size: 46.3 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be15107c1f0380101ad4a977df195574c1461a309f5371843606234f1b65c852
|
|
| MD5 |
b5c82db9c1d6da0766528093433dacdd
|
|
| BLAKE2b-256 |
cec4b866d920bfc1f03a824b0ba34591e337c92024102afd17eb3bbd6e590bc8
|