(self, functions, name='function_stack')
Initialization, see `FunctionStack`.
Initialization, see `FunctionStack`.
Initialization see FunctionStack .
def __init__(self, functions, name='function_stack'):
        """Initialization, see `FunctionStack`."""
        super(FunctionStack, self).__init__(name=name)
        self.functions = functions
        self.num_fun = len(self.functions)

        self.input_dim = self.functions[0].input_dim
        self.output_dim = sum(fun.output_dim for fun in self.functions)
def __init__ ( self , functions , name = 'function_stack' ) : super ( FunctionStack , self ) . __init__ ( name = name ) self . functions = functions self . num_fun = len ( self . functions ) self . input_dim = self . functions [ 0 ] . input_dim self . output_dim = sum ( fun . output_dim for fun in self . functions )