powered by
Uses 3D tensors: repeat s1 along dim2, repeat s2 along dim1, then sub -> abs -> sum_rows. Result shape is (1, N1, N2) which gives the N1 x N2 distance matrix.
.manhattan_distance_matrix_gpu_batch(states1, states2)
Numeric matrix (N1 x N2)
Numeric matrix (N1 x n)
Numeric matrix (N2 x n)