def to_raw(self):
        """
        Returns the "raw" version of that object. It is a `torch.Tensor` object.
        """
        if self._tensor is not None:
            return self._tensor

        if self._path is not None:
            tensor, self.samplerate = sf.read(self._path)
            self._tensor = torch.tensor(tensor)
            return self._tensor

        Returns the "raw" version of that object. It is a `torch.Tensor` object.
        
dpkd/transformers/src/transformers/tools/agent_types.py