def get_shape_from_value_info(value):
    """Get shape from a value info.

    :param value: the value_info proto\\
    :return: list of the shape
    """
    return [d.dim_value for d in value.type.tensor_type.shape.dim]