C Lua CMake Other
Latest commit 3caabb9 Jan 13, 2017 @soumith soumith committed on GitHub Merge pull request #911 from gchanan/convWarning
Avoid strict aliasing warning in float/half conversions.
Permalink
Failed to load latest commit information.
cmake Added recognition of CUDA sources in ADD_TORCH_PACKAGE Feb 26, 2016
doc Merge branch 'master' into contiguous-cat-1d Jan 1, 2017
generic Removing TH_GENERIC_USE_HALF, TH_NATIVE_HALF, TH_GENERIC_NO_MATH (rep… Jan 1, 2017
lib Merge pull request #911 from gchanan/convWarning Jan 13, 2017
rocks removing sys dependency for now Mar 9, 2016
test Merge branch 'master' into contiguous-cat-1d Jan 1, 2017
.gitignore tell git to ignore build output Sep 7, 2015
.travis.yml Update .travis.yml Oct 27, 2016
CMakeLists.txt provide install paths through require 'torch.paths' Jan 10, 2017
CONTRIBUTING.md fixed mailing list Jun 3, 2015
COPYRIGHT.txt update license Apr 25, 2014
CmdLine.lua Make CmdLine:log check whether file is a file descriptor, before crea… May 25, 2016
DiskFile.c Add DiskFile:noBuffer() Mar 24, 2016
FFI.lua Removing TH_GENERIC_USE_HALF, TH_NATIVE_HALF, TH_GENERIC_NO_MATH (rep… Jan 1, 2017
File.c replace long with ptrdiff_t for memory size/offset etc Oct 3, 2016
File.lua changing function load errors to warnings Aug 24, 2016
Generator.c Make torch.Generator serializable Apr 19, 2016
MemoryFile.c New function longSize for files Nov 26, 2015
PipeFile.c Add support for Lua 5.2 May 29, 2015
README.md Update README.md Jan 20, 2016
ROADMAP.md fix several spelling errors Aug 11, 2016
Storage.c Removing TH_GENERIC_USE_HALF, TH_NATIVE_HALF, TH_GENERIC_NO_MATH (rep… Jan 1, 2017
Tensor.c Removing TH_GENERIC_USE_HALF, TH_NATIVE_HALF, TH_GENERIC_NO_MATH (rep… Jan 1, 2017
Tensor.lua Removing TH_GENERIC_USE_HALF, TH_NATIVE_HALF, TH_GENERIC_NO_MATH (rep… Jan 1, 2017
TensorMath.lua Merge branch 'master' into contiguous-cat-1d Jan 1, 2017
TensorOperator.c torch now complies with the new luaT API Aug 13, 2012
TestSuite.lua Replace torch.Tester with totem.Tester + extra stuff. Feb 25, 2016
Tester.lua Add support for torch.HalfTensor (#874) Dec 29, 2016
Timer.c a couple of changes for win32 (#779) Oct 1, 2016
general.h replace long with ptrdiff_t for memory size/offset etc Oct 3, 2016
init.c Removing TH_GENERIC_USE_HALF, TH_NATIVE_HALF, TH_GENERIC_NO_MATH (rep… Jan 1, 2017
init.lua Enable heap tracking by default in torch Jun 13, 2016
mkdocs.yml readthedocs Aug 13, 2015
paths.lua.in provide install paths through require 'torch.paths' Jan 10, 2017
random.lua Add support for Lua 5.2 May 29, 2015
torchcwrap.lua Add support for torch.HalfTensor (#874) Dec 29, 2016
utils.c Expose OpenMP num threads through TH lib Oct 17, 2016
utils.h Work under windows Jul 24, 2015

README.md

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

Need help?

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