Y
Hacker News
new
|
ask
|
show
|
jobs
by
falcor84
188 days ago
In this particular case, there was no need at all for the reshaping, and the result could have been achieved with just:
Z = Y @ X W = np.c_[Z, Z]