def compute_tensor(self, x):
        t = self._act(T.dot(x, self.W_t) + self.B_t)
        h = self._act(T.dot(x, self.W_h) + self.B_h)
        return h * t + x * (1 - t)
dataset/ETHPy150Open zomux/deepy/experiments/highway_networks/highway_layer.py/HighwayLayer.compute_tensor/original