3
Ich möchte Tensor Achse von Bildstapel von (Batch_size, Zeile, Spalte, ch) zu (Batch_size, ch, Zeile, col) tauschen.tauschen Tensor-Achse in Keras
in numpy, kann dies mit
X_batch = np.moveaxis(X_batch, 3, 1)
erfolgen Wie würde ich in Keras das tun?