Alternative solution for 21
yunisdev opened this issue · 2 comments
yunisdev commented
You can also use:
np.tile(np.identity(2),(4,4))
unnati914 commented
I want to work on this
rougier commented
Thanks for the suggestion. I don't think it's fundamentally different from the current solution since it's only a matter of using the identity function in place of the manual array.