numpy broadcasting原则

右对齐

1
2
3
A      (4d array):  8 x 1 x 6 x 1
B (3d array): 7 x 1 x 5
Result (4d array): 8 x 7 x 6 x 5

请作者喝一杯咖啡☕️