class_docstr: Base class for input data adapters.
  
  The purpose of a DataAdapter is to provide a unfied interface to
  iterate over input data provided in a variety of formats -- such as
  NumPy arrays, tf.Tensors, tf.data.Datasets, Keras PyDatasets, etc.
docstr: Return the batch size of the dataset created.
  
  For certain type of the data input, the batch size is known, and even
  required, like numpy array. Whereas for dataset, the batch is unknown
  unless we take a peek.
  
  Returns:
    int, the batch size of the dataset, or None if it is unknown.
docstr_tok: ["Return","the","batch","size","of","the","dataset","created",".","For","certain","type","of","the","data","input",",","the","batch","size","is","known",",","and","even","required",",","like","numpy","array",".","Whereas","for","dataset",",","the","batch","is","unknown","unless","we","take","a","peek",".","Returns",":","int",",","the","batch","size","of","the","dataset",",","or","None","if","it","is","unknown","."]
code: def batch_size(self):
      """Return the batch size of the dataset created.
  
      For certain type of the data input, the batch size is known, and even
      required, like numpy array. Whereas for dataset, the batch is unknown
      unless we take a peek.
  
      Returns:
        int, the batch size of the dataset, or None if it is unknown.
      """
      raise NotImplementedError
  
file_path: keras/keras/trainers/data_adapters/data_adapter.py
label_desc: Use image node_id 4 for calling the DataAdapter obj's underlying member method code with example usage: obj.batch_size() without return types