Borrow from https://discuss.gluon.ai/t/topic/3846.
We can consider to implement np.diag in the future.
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.diag.html
I am interested implementing this, is there a jira issue already?
@ifeherva NoJIRA issue for this one yet.
I am working on replicating np.diag(). Once done will do the full diagonal operator. This is my first operator so I am learning a lot at the moment.
@eric-haibin-lin This issue can be closed now that the PR has been merged
Most helpful comment
I am working on replicating np.diag(). Once done will do the full diagonal operator. This is my first operator so I am learning a lot at the moment.
PR:
https://github.com/apache/incubator-mxnet/pull/11643