• Stars
    star
    8,911
  • Rank 3,852 (Top 0.08 %)
  • Language
    C
  • License
    Other
  • Created over 10 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

http://torch.ch

Join the chat at https://gitter.im/torch/torch7 Build Status

Development Status

Torch is not in active developement. The functionality provided by the C backend of Torch, which are the TH, THNN, THC, THCUNN libraries is actively extended and re-written in the ATen C++11 library (source, mirror). ATen exposes all operators you would expect from torch7, nn, cutorch, and cunn directly in C++11 and includes additional support for sparse tensors and distributed operations. It is to note however that the API and semantics of the backend libraries in Torch-7 are different from the semantice provided by ATen. For example ATen provides numpy-style broadcasting while TH* dont. For information on building the forked Torch-7 libraries in C, refer to "The C interface" in pytorch/aten/src/README.md.

Need help?

Torch7 community support can be found at the following locations. As of 2019, the Torch-7 community is close to non-existent.

Torch Package Reference Manual

Torch is the main package in Torch7 where data structures for multi-dimensional tensors and mathematical operations over these are defined. Additionally, it provides many utilities for accessing files, serializing objects of arbitrary types and other useful utilities.

Torch Packages

  • Tensor Library
    • Tensor defines the all powerful tensor object that provides multi-dimensional numerical arrays with type templating.
    • Mathematical operations that are defined for the tensor object types.
    • Storage defines a simple storage interface that controls the underlying storage for any tensor object.
  • File I/O Interface Library
  • Useful Utilities
    • Timer provides functionality for measuring time.
    • Tester is a generic tester framework.
    • CmdLine is a command line argument parsing utility.
    • Random defines a random number generator package with various distributions.
    • Finally useful utility functions are provided for easy handling of torch tensor types and class inheritance.

Useful Links

More Repositories

1

nn

Lua
1,324
star
2

tutorials

A series of machine learning tutorials for Torch7
Jupyter Notebook
624
star
3

distro

Torch installation in a self-contained folder
CMake
552
star
4

demos

Demos and tutorials around Torch7.
Lua
355
star
5

cutorch

A CUDA backend for Torch7
Cuda
337
star
6

nngraph

Graph Computation for nn
Lua
300
star
7

threads

Threads for Lua and LuaJIT. Transparent exchange of data between threads is allowed thanks to torch serialization.
Lua
248
star
8

DEPRECEATED-torch7-distro

Torch7: state-of-the-art machine learning algorithms
C
225
star
9

cunn

Cuda
215
star
10

image

An Image toolbox for Torch.
C
209
star
11

qtlua

Lua interface to QT library
C++
201
star
12

optim

A numeric optimization package for Torch.
Lua
198
star
13

luajit-rocks

LuaJIT and luarocks in one location
C
153
star
14

trepl

A pure Lua-based, lightweight REPL for Torch.
Lua
81
star
15

tds

Torch C data structures
C
81
star
16

torch.github.io

Torch's web page.
HTML
76
star
17

ezinstall

One-line install scripts for Torch.
Shell
76
star
18

xlua

A set of useful functions to extend Lua (string, table, ...).
Lua
75
star
19

rocks

Rocks for torch
HTML
72
star
20

class

Oriented Object Programming for Lua
Lua
71
star
21

rnn

Torch recurrent neural networks
Lua
62
star
22

gnuplot

Lua
61
star
23

TH

Standalone C TH library
C
56
star
24

argcheck

A powerful (and blazing fast) argument checker and function overloading system for Lua or LuaJIT
Lua
53
star
25

paths

C
51
star
26

senna

NLP SENNA (http://ml.nec-labs.com/senna) interface to LuaJIT
Lua
49
star
27

sdl2-ffi

A LuaJIT interface to SDL2
Lua
37
star
28

graph

Graph package for Torch
Lua
36
star
29

cwrap

Lua
30
star
30

xt

torch TH/THC c++11 wrapper
C
15
star
31

sys

A system utility package for Torch.
Lua
13
star
32

sundown-ffi

A LuaJIT interface to the Sundown library (a Markdown implementation)
C
10
star
33

ffi

FFI bindings for Torch7. Allows LuaJIT-speed access to Tensors and Storages.
Lua
9
star
34

qttorch

C++
8
star
35

cairo-ffi

LuaJIT FFI interface to Cairo Graphics
Lua
7
star
36

hash

Hashing functions for Torch7
C
7
star
37

luarocks-mirror

because luarocks.org is not completely reliable!
Shell
6
star
38

dok

Lua
6
star
39

socketfile

adds file-over-sockets support for torch
Lua
6
star
40

rational

rational numbers for lua
Lua
5
star
41

vector

Lua
5
star
42

env

Sets up default torch environment
Lua
4
star
43

testme

Unit Testing for Torch.
Lua
2
star