Created
January 17, 2019 07:52
-
-
Save pervognsen/f656075edf028e75b6c1158564387612 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A = blocks(A, (w, h)) | |
B = blocks(B, (h, w)) | |
C = blocks(out, (w, w)) | |
for j in range(B.shape[0]): | |
for k in range(B.shape[1]): | |
np.copyto(column_panel, B[j, k]) | |
for i in range(A.shape[0]): | |
np.copyto(row_panel, A[i, j]) | |
microkernel(C[i, k], row_panel, column_panel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment