'Gets the model\'s input specs.
# Returns
A list of `InputSpec` instances (one per input to the model)
or a single instance if the model has only one input.'

@property
def input_spec(self):

    specs = []
    for layer in getattr(self, 'input_layers', []):
        if (layer.input_spec is None):
            specs.append(None)
        else:
            if (not isinstance(layer.input_spec, list)):
                raise TypeError(((('Layer    ' + layer.name) + '    has    an    input_spec    attribute    that    is    not    a    list.    We    expect    a    list.    Found    input_spec    =    ') + str(layer.input_spec)))
            specs += layer.input_spec
    if (len(specs) == 1):
        return specs[0]
    return specs
