class_docstr: Represents a TPU core's location in the mesh.
code: def __eq__(self, other):
      if not isinstance(other, _CoreLocation):
          return False
      return (
          self.x == other.x
          and self.y == other.y
          and self.z == other.z
          and self.core == other.core
      )
  
imports: import functools
  import time
  from typing import List, Optional, Dict
  import numpy
  from tensorflow.dtensor.python import config
  from tensorflow.dtensor.python import dtensor_device
  from tensorflow.dtensor.python import gen_dtensor_ops
  from tensorflow.dtensor.python import layout
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.tpu import topology
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 2 for calling the _CoreLocation obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown, False