For x of shape 64x324, if w is 324x10 the product x @ w is 64x10 and is 64 x 10 scalar products (so higher = closer alignment).
You effectively compare the batch features against 10 example features and measure alignment to each of them.