There is error in your code recall.
Kindly refer the below link to verify your codes for masked_accuracy grade cell
But you might still encounter error as your first grade cell has an error.
Send the screenshot of codes via personal DM
Regards DP