No description, website, or topics provided.
Lua C CMake
Clone or download
Latest commit 8726825 Oct 2, 2017
elikosan authored and soumith committed Oct 2, 2017 SpatialSubtractiveNormalization:clearState: clear cached size to mak…
…e Travis happy (#1284)

* replace lon glong types with size_t

Work around bug in msvc compiler in win32 mode

* fix condition logic for coef recalculation in  SpatialSubtractiveNormalization

Existing conditional expression always verified, resulting in overhead
as coeffcients were recalculated every time. Fix and simplify expression
by using chached input size.

* SpatialSubtractiveNormalization:clearState: clear cached size to make Travis happy
Permalink
Failed to load latest commit information.
doc Added UpSampling module and associated tests. Jul 21, 2017
lib fix pointer arithmetic for large input/output sizes Sep 5, 2017
rocks Decorator modules May 10, 2017
test Adding IndexLinear (#1181) Apr 9, 2017
.gitignore Add THNN_h.lua to .gitignore Mar 13, 2016
.luacheckrc [Torch] Move test.lua to the top level Nov 24, 2014
.travis.yml small fixes for test path Nov 7, 2015
Abs.lua Add THNN conversion of {ELU, LeakyReLU, LogSigmoid, LogSoftMax, Looku… Jan 5, 2016
AbsCriterion.lua Add THNN conversion of {ELU, LeakyReLU, LogSigmoid, LogSoftMax, Looku… Jan 5, 2016
Add.lua fix Add with multi-dim bias Mar 24, 2015
AddConstant.lua Support Tensor constant (#1129) Feb 12, 2017
BCECriterion.lua C-impl BCECriterion Jul 17, 2016
BatchNormalization.lua BN supports batchsize=1 Aug 3, 2017
Bilinear.lua parameters() uses torch.type instead of type Jul 10, 2017
Bottle.lua Decorator modules May 10, 2017
CAdd.lua hotfix for bug #1012 (comment) Oct 24, 2016
CAddTable.lua In-place option for CAddTable Feb 18, 2016
CAddTensorTable.lua nn.CAddTensorTable May 25, 2017
CDivTable.lua fixing table modules to return correct number of gradInputs Jul 28, 2015
CMakeLists.txt Move compilation flags from nn to THNN CMakeLists Mar 8, 2016
CMaxTable.lua Make CMaxTable and CMinTable cunn-compatible (#954) Feb 2, 2017
CMinTable.lua Make CMaxTable and CMinTable cunn-compatible (#954) Feb 2, 2017
CMul.lua Expand CMul weights (#911) Aug 24, 2016
CMulTable.lua nn.clearState Feb 9, 2016
CONTRIBUTING.md Fix many spelling errors with tool `codespell`. Aug 13, 2016
COPYRIGHT.txt add copyright file Apr 25, 2014
CReLU.lua added CReLU transfer function + tests (#1075) Jan 1, 2017
CSubTable.lua fixing table modules to return correct number of gradInputs Jul 28, 2015
Clamp.lua Use custom range in HardTanh and mask it as Clamp Oct 5, 2015
ClassNLLCriterion.lua Revert "Revert "ClassNLLCriterion supports missing targets"" May 21, 2017
ClassSimplexCriterion.lua Fix many spelling errors with tool `codespell`. Aug 13, 2016
Collapse.lua nn.Collapse May 25, 2017
Concat.lua missed 3 chars moving internal stuff to official report Oct 20, 2016
ConcatTable.lua ConcatTable uses resize instead of resizeAs Jun 9, 2017
Constant.lua nn.Constant May 24, 2017
Container.lua parameters() uses torch.type instead of type Jul 10, 2017
Contiguous.lua Fix and test case for nn.Contiguous Mar 6, 2017
Convert.lua Merge branch 'master' into Convert May 25, 2017
Copy.lua fix direct assignment in some modules Feb 11, 2016
Cosine.lua nn.clearState Feb 9, 2016
CosineDistance.lua nn.clearState Feb 9, 2016
CosineEmbeddingCriterion.lua Do not change state variables in CosineDistance/CosineEmbeddingCriterion Nov 16, 2015
Criterion.lua Add :cudaHalf() :cudaDouble() to Criterion. Feb 3, 2017
CriterionTable.lua Rename unpack to table.unpack for Lua 5.2 May 4, 2015
CrossEntropyCriterion.lua Preserve old behavior of setting nll.sizeAverage in CrossEntropyCrite… Jan 20, 2017
Decorator.lua Decorator modules May 10, 2017
DepthConcat.lua Don't overwrite self.size in Concat Aug 16, 2016
DistKLDivCriterion.lua [DistKLDivCriterion] Add assertions on target size Apr 6, 2016
DistanceRatioCriterion.lua Initial Commit for DistanceRatioCriterion for triplet siamese model t… Dec 30, 2016
DontCast.lua parameters() uses torch.type instead of type Jul 10, 2017
DotProduct.lua Reuse same state tensors on forward/backward Mar 23, 2016
Dropout.lua Stochastic Inference for Dropout (#936) Sep 2, 2016
ELU.lua In-place ELU Mar 13, 2016
ErrorMessages.lua Give better error messages when trying to use the wrong kind of Tensor. Sep 3, 2014
Euclidean.lua nn.clearState Feb 9, 2016
Exp.lua Exp made lua only Apr 20, 2015
FeatureLPPooling.lua cpu lp pooling Jul 12, 2017
FlattenTable.lua parameters() uses torch.type instead of type Jul 10, 2017
GPU.lua Support CudaDoubleTensor, CudaHalfTensor with nn.GPU. Nov 17, 2016
GatedLinearUnit.lua added c implementation of GatedLinearUnit Jan 20, 2017
GradientReversal.lua back-compatibility fix for GradientReversal Apr 22, 2016
HardShrink.lua Add functional conversion of HardShrink Jan 2, 2016
HardTanh.lua inplace HardTanh, subclass ReLU6 Jun 18, 2016
HingeEmbeddingCriterion.lua rewrote HingeEmbeddingCriterion to support batch mode Jul 30, 2015
Identity.lua parameters() uses torch.type instead of type Jul 10, 2017
Index.lua fixing clearState for Index Aug 3, 2016
IndexLinear.lua parameters() uses torch.type instead of type Jul 10, 2017
Jacobian.lua make cloned vars local Feb 16, 2017
JoinTable.lua fixing JoinTable bug for negative indices Aug 24, 2016
Kmeans.lua nn.Kmeans May 26, 2017
L1Cost.lua nn.clearState Feb 9, 2016
L1HingeEmbeddingCriterion.lua Make type() truly recursive. Apr 28, 2015
L1Penalty.lua remove L1Penalty.clearState Mar 17, 2016
LayerNormalization.lua Adding Layer Normalization Mar 1, 2017
LeakyReLU.lua Add THNN conversion of {ELU, LeakyReLU, LogSigmoid, LogSoftMax, Looku… Jan 5, 2016
Linear.lua Adding LinearWeightNorm layer, test and updated documentation May 11, 2017
LinearWeightNorm.lua Adding LinearWeightNorm layer, test and updated documentation May 11, 2017
Log.lua add nn.Inc & nn.Scale May 7, 2016
LogSigmoid.lua lazy init Feb 9, 2016
LogSoftMax.lua Add THNN conversion of {ELU, LeakyReLU, LogSigmoid, LogSoftMax, Looku… Jan 5, 2016
LookupTable.lua Fix shared function override for specific modules Jan 3, 2017
MM.lua fix MM after :clearState() has been called Apr 21, 2016
MSECriterion.lua Add THNN conversion of {MarginCriterion, MSECriterion, MultiLabelMarg… Feb 1, 2016
MV.lua Adding nn.MV Mar 8, 2016
MapTable.lua Added sharedparams default values in MapTable so that it is backwards… May 3, 2017
MarginCriterion.lua Add gradWeightBuf & gradWeightBuf2 params to PReLU_accGradParameters Feb 1, 2016
MarginRankingCriterion.lua fix batch=1 bug in MarginRankingCriterion Aug 3, 2016
MaskedSelect.lua Add MaskedSelect.lua module to replicate torch.maskedSelect behaviour. Apr 6, 2016
Max.lua Support index parameters with Cuda*Tensor. Feb 3, 2017
Maxout.lua Adding Maxout Mar 1, 2017
Mean.lua refactoring Mean into Sum Jan 25, 2016
Min.lua Support index parameters with Cuda*Tensor. Feb 3, 2017
MixtureTable.lua Clear invalid expert gradients (table version) Feb 24, 2017
Module.lua Fix shared function override for specific modules Jan 3, 2017
ModuleCriterion.lua nn.ModuleCriterion May 26, 2017
Mul.lua fix for nn.Mul for cuda defaults Feb 9, 2016
MulConstant.lua fix direct assignment in some modules Feb 11, 2016
MultiCriterion.lua asserts in MultiCriterion and ParallelCriterion add Nov 4, 2015
MultiLabelMarginCriterion.lua Add integer indexing for MultiLabelMarginCriterion. Oct 25, 2016
MultiLabelSoftMarginCriterion.lua MultiLabelSoftMaxCriterion: unit test weights and uses buffers Feb 17, 2017
MultiMarginCriterion.lua Add integer indexing for MultiMarginCriterion. Oct 25, 2016
NaN.lua Decorator modules May 10, 2017
Narrow.lua Revert "changed narrow to standardize negative length and negative of… Jan 27, 2017
NarrowTable.lua copy clear state from Identity to {NarrowTable,SelectTable} May 11, 2016
Normalize.lua Support index parameters with Cuda*Tensor. Feb 3, 2017
OneHot.lua Merge branch 'master' of github.com:torch/nn into OneHot May 24, 2017
PReLU.lua lazy init Feb 9, 2016
Padding.lua Padding in the middle Feb 26, 2016
PairwiseDistance.lua PairwiseDistance: Default using Euclidean distance. Nov 14, 2016
Parallel.lua Remove extra | and bug fix ConcatTable Sep 21, 2016
ParallelCriterion.lua asserts in MultiCriterion and ParallelCriterion add Nov 4, 2015
ParallelTable.lua Remove extra | and bug fix ConcatTable Sep 21, 2016
PartialLinear.lua Fix shared function override for specific modules Jan 3, 2017
PixelShuffle.lua Added PixelShuffle layer, tests and docs Oct 16, 2016
Power.lua Use UNIX line endings Jun 17, 2015
PrintSize.lua PrintSize May 24, 2017
Profile.lua Decorator modules May 10, 2017
README.md Update README.md May 10, 2017
RReLU.lua nn.clearState Feb 9, 2016
ReLU.lua adds in-place ReLU and fixes a potential divide-by-zero in nn.Sqrt Apr 7, 2015
ReLU6.lua inplace HardTanh, subclass ReLU6 Jun 18, 2016
Replicate.lua Reuse same state tensors on forward/backward Mar 23, 2016
Reshape.lua Better __tostring__ and cleans formatting Mar 2, 2016
Select.lua Adds negative dim arguments Jun 25, 2016
SelectTable.lua allow SelectTable to accept input that contains tables of things that… Mar 7, 2017
Sequential.lua Improve error handling Mar 5, 2016
Sigmoid.lua Add THNN conversion of {RReLU, Sigmoid, SmoothL1Criterion,SoftMax, So… Feb 1, 2016
SmoothL1Criterion.lua Add THNN conversion of {RReLU, Sigmoid, SmoothL1Criterion,SoftMax, So… Feb 1, 2016
SoftMarginCriterion.lua SoftMarginCriterion Feb 29, 2016
SoftMax.lua Add THNN conversion of {RReLU, Sigmoid, SmoothL1Criterion,SoftMax, So… Feb 1, 2016
SoftMin.lua nn.clearState Feb 9, 2016
SoftPlus.lua Add THNN conversion of {RReLU, Sigmoid, SmoothL1Criterion,SoftMax, So… Feb 1, 2016
SoftShrink.lua Add THNN conversion of {oftShrink, Sqrt, Square, Tanh, Threshold} Feb 1, 2016
SoftSign.lua nn.clearState Feb 9, 2016
SparseJacobian.lua Fix various unused variables in nn Nov 21, 2014
SparseLinear.lua parameters() uses torch.type instead of type Jul 10, 2017
SpatialAdaptiveAveragePooling.lua Add SpatialAdaptiveAveragePooling. Jan 14, 2017
SpatialAdaptiveMaxPooling.lua Indices for nn. Oct 19, 2016
SpatialAutoCropMSECriterion.lua fix local / global var leaks Dec 30, 2016
SpatialAveragePooling.lua Better __tostring__ and cleans formatting Mar 2, 2016
SpatialBatchNormalization.lua Add VolumetricBatchNormalization Feb 25, 2016
SpatialClassNLLCriterion.lua Generic support for cuda tensor types in SpatialClassNLLCriterion. Oct 19, 2016
SpatialContrastiveNormalization.lua Make type() truly recursive. Apr 28, 2015
SpatialConvolution.lua Move make contiguous code from lua to C. Nov 30, 2016
SpatialConvolutionLocal.lua Move make contiguous code from lua to C. Nov 30, 2016
SpatialConvolutionMM.lua Move make contiguous code from lua to C. Nov 30, 2016
SpatialConvolutionMap.lua Add THNN conversion of Spatial*ConvolutionMap Feb 18, 2016
SpatialCrossMapLRN.lua Generic floating point support for SpatialCrossMapLRN. Oct 19, 2016
SpatialDepthWiseConvolution.lua SpatialDepthWiseConvolution May 12, 2017
SpatialDilatedConvolution.lua Move make contiguous code from lua to C. Nov 30, 2016
SpatialDilatedMaxPooling.lua Use index types for Max Pooling / Unpooling indices. Oct 19, 2016
SpatialDivisiveNormalization.lua nn.clearState Feb 9, 2016
SpatialDropout.lua Stochastic Inference for Dropout (#936) Sep 2, 2016
SpatialFractionalMaxPooling.lua Indices for nn. Oct 19, 2016
SpatialFullConvolution.lua parameters() uses torch.type instead of type Jul 10, 2017
SpatialFullConvolutionMap.lua Add THNN conversion of Spatial*ConvolutionMap Feb 18, 2016
SpatialLPPooling.lua SpatialAveragePooling divides by kW*kH Mar 4, 2015
SpatialLogSoftMax.lua Update LogSoftMax to work in spatial domain Oct 7, 2016
SpatialMaxPooling.lua Use index types for Max Pooling / Unpooling indices. Oct 19, 2016
SpatialMaxUnpooling.lua Remove unnecessary function override in unpooling modules (#749) Apr 13, 2016
SpatialReflectionPadding.lua Better __tostring__ and cleans formatting Mar 2, 2016
SpatialReplicationPadding.lua Better __tostring__ and cleans formatting Mar 2, 2016
SpatialSoftMax.lua Add THNN conversion of {RReLU, Sigmoid, SmoothL1Criterion,SoftMax, So… Feb 1, 2016
SpatialSubSampling.lua Add THNN conversion for Spatial* modules Feb 17, 2016
SpatialSubtractiveNormalization.lua SpatialSubtractiveNormalization:clearState: clear cached size to mak… Oct 2, 2017
SpatialUpSamplingBilinear.lua Remove resizing of output in lua. Dec 1, 2016
SpatialUpSamplingNearest.lua Remove resizing of output in lua. Dec 1, 2016
SpatialZeroPadding.lua Better __tostring__ and cleans formatting Mar 2, 2016
SplitTable.lua Add gradInput nil check May 12, 2016
Sqrt.lua Add THNN conversion of {oftShrink, Sqrt, Square, Tanh, Threshold} Feb 1, 2016
Square.lua Add THNN conversion of {oftShrink, Sqrt, Square, Tanh, Threshold} Feb 1, 2016
Squeeze.lua adding nn.Squeeze Feb 29, 2016
StochasticGradient.lua Update StochasticGradient.lua Jul 19, 2014
Sum.lua Fix backward compatibility with serialized nn.Sum modules May 24, 2017
THNN.lua Remove accreal typedef because it is defined multiple times Feb 22, 2017
Tanh.lua Add THNN conversion of {oftShrink, Sqrt, Square, Tanh, Threshold} Feb 1, 2016
TanhShrink.lua New NN classes Jan 3, 2013
TemporalConvolution.lua Fix shared function override for specific modules Jan 3, 2017
TemporalDynamicKMaxPooling.lua Adding TemporalDynamicKMaxPooling (#867) Aug 25, 2016
TemporalMaxPooling.lua Indices for nn. Oct 19, 2016
TemporalRowConvolution.lua Rowconv repull (#1120) Jan 27, 2017
TemporalSubSampling.lua moving Temporal* modules to THNN Feb 10, 2016
Threshold.lua Make Threshold THNN functions more consistent Aug 19, 2016
Transpose.lua Added setNumInputDims to nn.Transpose Apr 19, 2017
Unsqueeze.lua Unsqueeze reuse same state tensors Mar 25, 2016
UpSampling.lua Added UpSampling module and associated tests. Jul 21, 2017
View.lua Fix backward-compatibility of nn.View Mar 15, 2016
VolumetricAveragePooling.lua fix VolumetricAveragePooling for changed C interface Aug 26, 2017
VolumetricBatchNormalization.lua Add VolumetricBatchNormalization Feb 25, 2016
VolumetricConvolution.lua Added noBias module for VolumetricConvolution and VolumtericFullConvo… Feb 15, 2017
VolumetricDilatedConvolution.lua Move make contiguous code from lua to C. Nov 30, 2016
VolumetricDilatedMaxPooling.lua Improve shape checks for VolumetricMaxPooling and VolumetricDilatedMa… Dec 6, 2016
VolumetricDropout.lua Stochastic Inference for Dropout (#936) Sep 2, 2016
VolumetricFractionalMaxPooling.lua review comments from gchanan Feb 6, 2017
VolumetricFullConvolution.lua parameters() uses torch.type instead of type Jul 10, 2017
VolumetricMaxPooling.lua Improve shape checks for VolumetricMaxPooling and VolumetricDilatedMa… Dec 6, 2016
VolumetricMaxUnpooling.lua Remove unnecessary function override in unpooling modules (#749) Apr 13, 2016
VolumetricReplicationPadding.lua Added VolumetricReplicationPadding. Jun 17, 2016
WeightNorm.lua Decorator modules May 10, 2017
WeightedEuclidean.lua nn.Module preserve type sharing semantics (#187); add nn.Module.apply Sep 4, 2015
WeightedMSECriterion.lua lazy init Feb 9, 2016
WhiteNoise.lua nn.WhiteNoise May 24, 2017
ZeroGrad.lua ZeroGrad May 24, 2017
ZipTable.lua nn.ZipTable May 24, 2017
ZipTableOneToMany.lua nn.ZipTable May 24, 2017
hessian.lua parameters() uses torch.type instead of type Jul 10, 2017
init.lua Merge pull request #1259 from wickedfoo/feature_lp_pooling Jul 25, 2017
mkdocs.yml doc readthedocs Aug 11, 2015
test.lua BN supports batchsize=1 Aug 3, 2017
utils.lua parameters() uses torch.type instead of type Jul 10, 2017

README.md

Build Status

Neural Network Package

This package provides an easy and modular way to build and train simple or complex neural networks using Torch: