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

github.com/clementfarabet/lua---nnx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Farabet <clement.farabet@gmail.com>2011-07-08 08:58:27 +0400
committerClement Farabet <clement.farabet@gmail.com>2011-07-08 08:58:27 +0400
commit6bee453e142c08123ed6034ec0e987f5f44a0adb (patch)
tree3698c27430454b6195bee5823e270cc9df3f85b0 /SpatialReSampling.lua
parentc368fbfdb06c254bf5ca8cce69c04047a5a0cae4 (diff)
Changed interface for resampler (to be compat with Down and Up Samplers)
Diffstat (limited to 'SpatialReSampling.lua')
-rw-r--r--SpatialReSampling.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/SpatialReSampling.lua b/SpatialReSampling.lua
index 20c9985..9aef63c 100644
--- a/SpatialReSampling.lua
+++ b/SpatialReSampling.lua
@@ -23,10 +23,10 @@ function SpatialReSampling:__init(...)
parent.__init(self)
xlua.unpack_class(
self, {...}, 'nn.SpatialReSampling', help_desc,
- {arg='owidth', type='number', help='output width'},
- {arg='oheight', type='number', help='output height'},
{arg='rwidth', type='number', help='ratio: owidth/iwidth'},
- {arg='rheight', type='number', help='ratio: oheight/iheight'}
+ {arg='rheight', type='number', help='ratio: oheight/iheight'},
+ {arg='owidth', type='number', help='output width'},
+ {arg='oheight', type='number', help='output height'}
)
end