code: def apply(self, func, *args, **kwargs):
          
          ret = func(self._t, *args, **kwargs)
          return LinearWrap(ret)
docs: Apply a function on the wrapped tensor.
  
          Returns:
              LinearWrap: ``LinearWrap(func(self.tensor(), *args, **kwargs))``.