def getInputShape(model):
    """
        Gets the shape when there is a single input.
        Return:
            Numeric dimensions, omits dimensions that have no value. eg batch 
            size.
    """
    s = []
    for dim in model.input.shape:
        if dim.value:
            s.append(dim.value)
        
    return tuple(s)