comparison algorithms/stacker.py @ 489:bb6bdd3b7ff3

Another bit of documentation
author Joseph Turian <turian@gmail.com>
date Tue, 28 Oct 2008 03:31:36 -0400
parents 8fcd0f3d9a17
children 2be795cc5c3a
comparison
equal deleted inserted replaced
488:e06666ac32d5 489:bb6bdd3b7ff3
3 from theano import tensor as T 3 from theano import tensor as T
4 import sys 4 import sys
5 import numpy as N 5 import numpy as N
6 6
7 class Stacker(T.RModule): 7 class Stacker(T.RModule):
8 """
9 @todo: Maybe compile functions on demand, rather than immediately.
10 """
8 11
9 def __init__(self, submodules, input = None, regularize = False): 12 def __init__(self, submodules, input = None, regularize = False):
10 super(Stacker, self).__init__() 13 super(Stacker, self).__init__()
11 14
12 current = input 15 current = input