Python – tensorflow.IndexedSlices.indices Attribute
TensorFlow is open-source Python library designed by Google to develop Machine Learning models and deep learning neural networks.
indices is used to find the indices of the slice.
Returns: It returns a 1-D Tensor containing the indices of slice.
data: tf.Tensor([1 2 3], shape=(3, ), dtype=int32) Indices: 
data: tf.Tensor( [[1 2 3] [4 5 6]], shape=(2, 3), dtype=int32) Indices: [0, 1]
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course