ArrayDot
ArrayDot[a,b,k] computes the product of arrays a and b obtained by summing up products of terms over the last k dimensions of a and the first k dimensions of b.
ArrayDot[a,b,{{s1,t1},{s2,t2},…}] computes the product of arrays a and b obtained by summing up products of terms over the pairs {si,ti} of dimensions.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.