import torch


def get_torch_stats(data: torch.Tensor) -> dict[str, any]:
    return {
        'shape': data.shape,
        'dtype': data.dtype,
        'mean': torch.mean(data),
        'std': torch.std(data),
        'min': torch.min(data),
        'max': torch.max(data),
    }
