Suchergebnisse für Anfrage "numpy-einsum"
numpy einsum: verschachtelte Punktprodukte
Ich habe zwein-durchk-durch3 Arraysa undb, z.B. import numpy as np a = np.array([ [ [1, 2, 3], [3, 4, 5] ], [ [4, 2, 4], [1, 4, 5] ] ]) b = np.array([ [ [3, 1, 5], [0, 2, 3] ], [ [2, 4, 5], [1, 2, 4] ] ])nd es wird gerne das Skalarprodukt aller ...