(self)
return original_base
Returns the original base of the tensor. B is a view of A, C is a view
        of B, then A, B and C's original base is A.
Returns the original base of the tensor. B is a view of A, C is a view
        of B, then A, B and C's original base is A.
Returns the original base of the tensor . B is a view of A C is a view of B then A B and C s original base is A .
def _original_base(self):
        """
        Returns the original base of the tensor. B is a view of A, C is a view
        of B, then A, B and C's original base is A.
        """
        # return self if self.base is None else self.base
        original_base = self
        while original_base.base is not None:
            original_base = original_base.base
        return original_base
def _original_base ( self ) : # return self if self.base is None else self.base original_base = self while original_base . base is not None : original_base = original_base . base return original_base