Is there an equivalent of `np.diag` in `eagerpy`? If not, what would be the proper way to create a diagonal matrix from a vector?
Is there an equivalent of
np.diagineagerpy? If not, what would be the proper way to create a diagonal matrix from a vector?