Skip to main content

PYTHON version PyPI version Downloads

(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.Pass
  • torchex.nn.Flatten
  • torchex.nn.Linear
    • Lazy style
  • torchex.nn.Conv1d
    • Lazy style
  • torchex.nn.Conv2d
    • Lazy style
  • torchex.nn.Conv3d
    • Lazy style
  • torchex.nn.Conv2dLocal
  • torchex.nn.GlobalAvgPool1d
  • torchex.nn.GlobalAvgPool2d
  • torchex.nn.GlobalMaxPool1d
  • torchex.nn.GlobalMaxPool2d
  • torchex.nn.MaxAvgPool2d
  • torch.nn.Crop2d
  • torch.nn.Crop3d
  • torch.nn.MLPConv2d
  • torch.nn.UpsampleConvLayer
  • torch.nn.CordConv2d
  • torch.nn.DFT1d
  • torch.nn.DFT2d
  • torch.nn.PeriodicPad2d
  • torch.nn.PeriodicPad3d
  • torch.nn.Highway
  • torch.nn.Inception
  • torch.nn.InceptionBN
  • torch.nn.IndRNNCell
  • torch.nn.IndRNNTanhCell
  • torch.nn.IndRNNReLuCell
  • torch.nn.IndRNN
  • torch.nn.GraphLinear
  • torch.nn.GraphConv
  • torch.nn.SparseMM
  • torch.nn.GraphBatchNrom

torchex.data.transforms

  • torchex.data.transforms.PadRandomSift
  • torchex.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)

Source distribution for torchex 0.0.16
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)

Table of built distributions (wheels) for torchex 0.0.16
File Interpreter ABI Platform Actions
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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page