parameters: (self)
docstring: Whether all values of this `Tensor` are `True` as a native bool.
docstring_summary: Whether all values of this `Tensor` are `True` as a native bool.
docstring_tokens: Whether all values of this Tensor are True as a native bool .
function: def all(self):
          """ Whether all values of this `Tensor` are `True` as a native bool. """
          from ._ops import all_, cast
          if self.rank == 0:
              return cast(self, DType(bool)).native()
          else:
              return all_(self, dim=self.shape).native()
function_tokens: def all ( self ) : from . _ops import all_ , cast if self . rank == 0 : return cast ( self , DType ( bool ) ) . native ( ) else : return all_ ( self , dim = self . shape ) . native ( )