Calculates the dot product (the Frobenius inner product) of two tensors.
The first tensor
The second tensor
const result = Chalkboard.tens.dot([[1, 2], [3, 4]], [[1, 2], [3, 4]]); // Returns 30 Copy
const result = Chalkboard.tens.dot([[1, 2], [3, 4]], [[1, 2], [3, 4]]); // Returns 30
Calculates the dot product (the Frobenius inner product) of two tensors.