class_docstr: Represents the value of one dimension in a TensorShape.
class_docstr_tok: ["Represents","the","value","of","one","dimension","in","a","TensorShape","."]
docstr: Raises an exception if `other` is not convertible with this
  Dimension.
  
  Args:
    other: Another Dimension.
  
  Raises:
    ValueError: If `self` and `other` are not convertible (see
      is_convertible_with).
docstr_tok: ["Raises","an","exception","if","`","other","`","is","not","convertible","with","this","Dimension",".","Args",":","other",":","Another","Dimension",".","Raises",":","ValueError",":","If","`","self","`","and","`","other","`","are","not","convertible","(","see","is_convertible_with",")","."]
code: def assert_is_convertible_with(self, other):
      """Raises an exception if `other` is not convertible with this
      Dimension.
  
      Args:
        other: Another Dimension.
  
      Raises:
        ValueError: If `self` and `other` are not convertible (see
          is_convertible_with).
      """
      if not self.is_convertible_with(other):
          raise ValueError(
              "Dimensions %s and %s are not convertible" % (self, other)
          )
  
imports: from .None import compat, dtypes
  from tensorboard.compat.proto import tensor_shape_pb2
label_desc: Use image node_id 11 for calling the Dimension obj's underlying member method code with example usage: obj.assert_is_convertible_with(other) without return types