def call(self, inputs):
    if not isinstance(inputs, list):
      raise ValueError('A `Concatenate` layer should be called '
                       'on a list of inputs.')
    return K.concatenate(inputs, axis=self.axis)