Input (grade 11): The dot product is calculated by multiplying and summing across a single index in both tensors.
Output (grade 9): The dot product is worked out by multiplying and summing across a single index in both tensors.