def METHOD_NAME(self):
    """
    Retrieves the index of first tensor found.
    """
    if self.atomic:
        return 0
    for i, value in enumerate(self._values):
        if torch.is_tensor(value):
            return i
    raise TypeError("No tensor found!")