Skip to main content

Pytorch Extension Module.

Project description

[![GitHub license](](
[![PYTHON version](,3.6-blue.svg)](
[![PyPI version](](
[![Build Status](](
[![Documentation Status](](
[![Test Coverage](](
[![BCH compliance](](

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
torchex-0.0.15-py2.py3-none-any.whl (45.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3
torchex-0.0.15.tar.gz (29.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page