(self, class_id=None, pool=None)
return get_total_images_per_class(self, class_id, pool=pool)
Returns the total number of images for the specified class.

    Args:
      class_id: The class whose number of images will be returned. If this is
        None, it is assumed that the dataset has the same number of images for
        each class.
      pool: A string ('train' or 'test', optional) indicating which
        example-level split to select, if the current dataset has them.

    Raises:
      ValueError: when
        - no class_id specified and yet there is class imbalance, or
        - no pool specified when there are example-level splits, or
        - pool is specified but there are no example-level splits, or
        - incorrect value for pool.
      RuntimeError: the DatasetSpecification is out of date (missing info).
Returns the total number of images for the specified class.
Returns the total number of images for the specified class .
def get_total_images_per_class(self, class_id=None, pool=None):
    """Returns the total number of images for the specified class.

    Args:
      class_id: The class whose number of images will be returned. If this is
        None, it is assumed that the dataset has the same number of images for
        each class.
      pool: A string ('train' or 'test', optional) indicating which
        example-level split to select, if the current dataset has them.

    Raises:
      ValueError: when
        - no class_id specified and yet there is class imbalance, or
        - no pool specified when there are example-level splits, or
        - pool is specified but there are no example-level splits, or
        - incorrect value for pool.
      RuntimeError: the DatasetSpecification is out of date (missing info).
    """
    return get_total_images_per_class(self, class_id, pool=pool)
def get_total_images_per_class ( self , class_id = None , pool = None ) : return get_total_images_per_class ( self , class_id , pool = pool )