class_docstr: Represents the value of one dimension in a TensorShape.
class_docstr_tok: ["Represents","the","value","of","one","dimension","in","a","TensorShape","."]
docstr: Returns the subtraction of `self` from `other`.
  
  Args:
    other: Another Dimension, or a value accepted by `as_dimension`.
  
  Returns:
    A Dimension whose value is the subtraction of `self` from `other`.
docstr_tok: ["Returns","the","subtraction","of","`","self","`","from","`","other","`",".","Args",":","other",":","Another","Dimension",",","or","a","value","accepted","by","`","as_dimension","`",".","Returns",":","A","Dimension","whose","value","is","the","subtraction","of","`","self","`","from","`","other","`","."]
code: def __rsub__(self, other):
      """Returns the subtraction of `self` from `other`.
  
      Args:
        other: Another Dimension, or a value accepted by `as_dimension`.
  
      Returns:
        A Dimension whose value is the subtraction of `self` from `other`.
      """
      other = as_dimension(other)
      if self._value is None or other.value is None:
          return Dimension(None)
      else:
          return Dimension(other.value - self._value)
  
imports: from .None import compat, dtypes
  from tensorboard.compat.proto import tensor_shape_pb2
label_desc: Use image node_id 16 for calling the Dimension obj's underlying member method code with example usage: obj.__rsub__(other) and returns: Dimension, Dimension