torch.diagonal\_copy ==================== .. currentmodule:: torch .. autofunction:: diagonal_copy