import tensorflow as tf

        super(DeepLIFTRescale, self).__init__(T, X, session, keras_learning_phase, Y_shape)

    def get_symbolic_attribution(self):
        return [g * (x - b) for g, x, b in zip(
            tf.gradients(ys=self.T, xs=self.X),
            self.X if self.has_multiple_inputs else [self.X],
            self.baseline if self.has_multiple_inputs else [self.baseline])]

