Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-10Decorator modulesNicholas Leonard
2017-05-04Fix WeightNorm serialization for permutated weight matricesJonas Gehring
For layers where the first weight dimension does not correspond to the output dimension, self.viewOut will *not* correspond to self.weight:size(). This is fixed by introducing another member variable that simply holds the original size of the weight matrix.
2017-05-04WeightNorm: don't serialize weight and gradWeightJonas Gehring
Both variables can be re-computed from v and g (and gradV/gradG) upon deserialization.
2017-05-04WeightNorm: don't update weights when not in training modeJonas Gehring
In evaluation mode, it's not necessary to re-compute the child module's weights at every forward pass. Instead, do it once when switching from training to evaluation mode. This speeds up inference.
2017-02-13adding weight norm containerAngela Fan