You need to understand how dot product multiplication works. It requires a transpose of the second argument in order for the dimensions to work for a “dot product”. Here’s a thread that shows examples.
You need to understand how dot product multiplication works. It requires a transpose of the second argument in order for the dimensions to work for a “dot product”. Here’s a thread that shows examples.