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

Mean.lua - github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8087ac95e776ebbf781943d3625c841d31389111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local Mean, parent = torch.class('nn.Mean', 'nn.Sum')

--[[

This file is still here because of backward compatibility.

Please use instead "nn.Sum(dimension, nInputDims, sizeAverage)"

]]--


function Mean:__init(dimension, nInputDims)
   parent.__init(self, dimension, nInputDims, true)
end