class_docstr: Gathers slices from a data tensor, based on an indices tensors (``tf.gather`` in Layer form).
  
  Args:
      axis (int or Tensor): the data axis to gather from.
      batch_dims (int): the number of batch dimensions in the data and indices.
class_docstr_tok: ["Gathers","slices","from","a","data","tensor",",","based","on","an","indices","tensors","(","``","tf.gather","``","in","Layer","form",")",".","Args",":","axis","(","int","or","Tensor",")",":","the","data","axis","to","gather","from",".","batch_dims","(","int",")",":","the","number","of","batch","dimensions","in","the","data","and","indices","."]
code: def get_config(self):
      config = super().get_config()
      config.update(axis=self._axis, batch_dims=self._batch_dims)
      return config
  
file_path: stellargraph/stellargraph/layer/misc.py
imports: import tensorflow
  from tensorflow.keras.layers import Layer
  from tensorflow.keras import backend
  import warnings
label_desc: Use image node_id 2 for calling the GatherIndices obj's underlying member method code with example usage: obj.get_config() and returns: config