class_docstr: Represents the value of one dimension in a TensorShape.
class_docstr_tok: ["Represents","the","value","of","one","dimension","in","a","TensorShape","."]
code: def __index__(self):
      # Allow use in Python 3 range
      return self._value
  
imports: from .None import compat, dtypes
  from tensorboard.compat.proto import tensor_shape_pb2
label_desc: Use image node_id 8 for calling the Dimension obj's underlying member method code with example usage: obj.__index__() and returns: self