Skip to main content
[![GitHub license](https://img.shields.io/github/license/0h-n0/torchex.svg)](https://github.com/0h-n0/torchex)
[![PYTHON version](https://img.shields.io/badge/python-3.5,3.6-blue.svg)](https://github.com/0h-n0/torchex)
[![PyPI version](https://img.shields.io/pypi/v/torchex.svg)](https://badge.fury.io/py/torchex)
[![CircleCI](https://circleci.com/gh/0h-n0/torchex.svg?style=svg&circle-token=99e93ba7bf6433d0cd33adbec2fbd042d141353d)](https://circleci.com/gh/0h-n0/torchex)
[![Build Status](https://travis-ci.org/0h-n0/torchex.svg?branch=master)](https://travis-ci.org/0h-n0/torchex)
[![codecov](https://codecov.io/gh/0h-n0/torchex/branch/master/graph/badge.svg)](https://codecov.io/gh/0h-n0/torchex)
[![Documentation Status](https://readthedocs.org/projects/torchex/badge/?version=latest)](https://torchex.readthedocs.io/en/latest/?badge=latest)
[![Maintainability](https://api.codeclimate.com/v1/badges/7cd6c99f10d22db13ee8/maintainability)](https://codeclimate.com/github/0h-n0/torchex/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/7cd6c99f10d22db13ee8/test_coverage)](https://codeclimate.com/github/0h-n0/torchex/test_coverage)
[![BCH compliance](https://bettercodehub.com/edge/badge/0h-n0/torchex?branch=master)](https://bettercodehub.com/)
[![Downloads](https://img.shields.io/pypi/dm/torchex.svg)](https://pypi.org/project/torchex/)

# (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

* https://torchex.readthedocs.io/en/latest/index.html

## How to use

### Lazy Style Model Definition

```python
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`



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.14.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

torchex-0.0.14-py2.py3-none-any.whl (45.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file torchex-0.0.14.tar.gz.

File metadata

  • Download URL: torchex-0.0.14.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for torchex-0.0.14.tar.gz
Algorithm Hash digest
SHA256 d132a0daaa5fe6755f157c9c68ae92141508bfae4f965a7fb369b5000e674d76
MD5 bb2bc699e02408e5de20263c8728db9e
BLAKE2b-256 3ede5beec82a347f8b7f9e4801d47ea1bc8e39789856d243887b1b5e3ae585ac

See more details on using hashes here.

File details

Details for the file torchex-0.0.14-py2.py3-none-any.whl.

File metadata

  • Download URL: torchex-0.0.14-py2.py3-none-any.whl
  • Upload date:
  • Size: 45.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for torchex-0.0.14-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3ef9a798182e965baf3f9076d4a72ecab9e270f014da4977e14810dcdd0219d1
MD5 6f6e7a78af817fc63af41d146ef0d2d6
BLAKE2b-256 90dd1922a919d1cba9366225aec4c0f77e503c458c11737c1f2c2e3899ac273d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page