class_docstr: Adapter for array-like objects, e.g. TF/JAX Tensors, NumPy arrays.
class_docstr_tok: ["Adapter","for","array-like","objects",",","e.g",".","TF\/JAX","Tensors",",","NumPy","arrays","."]
code: def num_batches(self):
      return self._size
  
file_path: keras/keras/trainers/data_adapters/array_data_adapter.py
imports: import math
  import numpy
  import tree
  from keras import backend
  from keras.trainers.data_adapters import data_adapter_utils
  from keras.trainers.data_adapters.data_adapter import DataAdapter
  from keras.utils.nest import lists_to_tuples
label_desc: Use image node_id 4 for calling the ArrayDataAdapter obj's underlying member method code with example usage: obj.num_batches() and returns: self