(self, controller, batch_size, out_vector_size, mem_hp, initializer=tf.random_normal,
                 initial_stddev=0.1)
:param controller: FF or LSTM controller
        :param batch_size:
        :param out_vector_size: length of the output vector
        :param mem_hp: memory hyperparameters. Not used at all here, just passed on to memory
        :param initializer:
        :param initial_stddev:
def __init__(self, controller, batch_size, out_vector_size, mem_hp, initializer=tf.random_normal,
                 initial_stddev=0.1):
        """

        :param controller: FF or LSTM controller
        :param batch_size:
        :param out_vector_size: length of the output vector
        :param mem_hp: memory hyperparameters. Not used at all here, just passed on to memory
        :param initializer:
        :param initial_stddev:
        """
        self.controller = controller
        self.batch_size = batch_size
        self.out_vector_size = out_vector_size
        self.controller_output_size = self.controller.out_vector_size

        self.mem_hp = mem_hp

        self.memory = Memory(self.batch_size, self.controller_output_size, self.out_vector_size, self.mem_hp,
                             initializer=initializer, initial_stddev=initial_stddev)

        self.output_weights = tf.Variable(
            initializer([self.controller.out_vector_size, self.out_vector_size], stddev=initial_stddev),
            name="output_weights_controller")
def __init__ ( self , controller , batch_size , out_vector_size , mem_hp , initializer = tf . random_normal , initial_stddev = 0.1 ) : self . controller = controller self . batch_size = batch_size self . out_vector_size = out_vector_size self . controller_output_size = self . controller . out_vector_size self . mem_hp = mem_hp self . memory = Memory ( self . batch_size , self . controller_output_size , self . out_vector_size , self . mem_hp , initializer = initializer , initial_stddev = initial_stddev ) self . output_weights = tf . Variable ( initializer ( [ self . controller . out_vector_size , self . out_vector_size ] , stddev = initial_stddev ) , name = "output_weights_controller" )