Easy

Write shape assertions for the tensors in an attention forward pass

Research Engineering & Debugging · Problem 1 of 8

Chapter 17Research Engineering & Debugging

Write shape assertions for the tensors in an attention forward pass

EasyProblem 1 / 8

Write shape assertions for the tensors in an attention forward pass.

Implement the function/class skeleton in the editor. Any correct approach is accepted.

Hints