Skip to content

torch/torch7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dde9e56 · Apr 17, 2019
May 25, 2017
Jul 20, 2017
May 25, 2017
Sep 26, 2017
Mar 9, 2016
Jul 11, 2017
Sep 7, 2015
Oct 27, 2016
Apr 28, 2017
Jun 3, 2015
Apr 25, 2014
Apr 10, 2017
Mar 24, 2016
Apr 28, 2017
Oct 3, 2016
Aug 24, 2016
Apr 19, 2016
Nov 26, 2015
May 29, 2015
Apr 17, 2019
Aug 11, 2016
Jan 1, 2017
Jan 1, 2017
Jan 1, 2017
Jul 14, 2017
Aug 13, 2012
Feb 25, 2016
Dec 29, 2016
Oct 1, 2016
Oct 3, 2016
Jan 1, 2017
Jul 11, 2017
Aug 13, 2015
Jan 10, 2017
May 29, 2015
Dec 29, 2016
Oct 17, 2016
Jul 24, 2015

Repository files navigation

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