torch.diagflat ============== .. currentmodule:: torch .. autofunction:: diagflat