

@neural_computation
def merge_inputs(self, input_var, additional_inputs=None):
    if (not additional_inputs):
        additional_inputs = []
    all_inputs = ([input_var] + additional_inputs)
    h_inputs = []
    for (x, weights) in zip(all_inputs, input_var.input_weights):
        (wi,) = weights
        h_inputs.append(T.dot(x, wi))
    merged_inputs = {
        'xh_t': sum(h_inputs),
    }
    return merged_inputs

dataset/ETHPy150Open zomux/deepy/deepy/layers/recurrent.py RNN.merge_inputs/VarMisuse@59/83 `self`->`input_var`