DLS Course 5 Week4 Ex 8 Failing Grader

In the notebook, all tests pass, but when I submit to the grader, it says exercise 8 fails.

Code Cell UNQ_C1: Function 'get_angles' is correct.
Code Cell UNQ_C2: Function 'positional_encoding' is correct.
Code Cell UNQ_C3: Function 'scaled_dot_product_attention' is correct.
Code Cell UNQ_C4: Function 'EncoderLayer' is correct.
Code Cell UNQ_C5: Function 'Encoder' is correct.
Code Cell UNQ_C6: Function 'DecoderLayer' is correct.
Code Cell UNQ_C7: Function 'Decoder' is correct.
Code Cell UNQ_C8: Unexpected error (ValueError('The first argument to `Layer.call` must always be passed.')) occurred during function check. We expected function `Transformer` to return type <class 'tuple'>. Please check that this function is defined properly. 
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.

Please help me find the error.

(edited my reply and added some extra characters to beat the 20-character minimum)

I have the same problem. Have you solve your problem.
In my DL specialization-> sequence models → week4 → the Programming Assignment: Transformers Architecture with TensorFlow, which is the last assignment of C5_W4_A1_Transformer_Subclass_v1, Transformer Network, I finished all the programming and “all tests passed” in exercises 8, but the final grade is just 25/100. I don’t know why it happened like this since all my assignment and results displayed “All tests passed”. Do you guys have the similar problems? Could anyone help to figure out what is going on? Thanks for your time.

My comment is following:
Code Cell UNQ_C1: Function ‘get_angles’ is correct.
Code Cell UNQ_C2: Function ‘positional_encoding’ is correct.
cell_UNQ_C3 function scaled_dot_product_attention failed test 2(with mask)
cell_UNQ_C4 function EncoderLayer.call failed test 1
cell_UNQ_C5 function Encoder.call failed test 1
cell_UNQ_C6 function DecoderLayer failed test 1
cell_UNQ_C7 function Decoder.call failed test 1
cell_UNQ_C8 function Transformer.call failed test 1
If you see many functions being marked as incorrect, try to trace back your steps & identify if there is an incorrect function that is being used in other steps.
This dependency may be the cause of the errors.

This thread is three years old.
I recommend you start a new thread for your question. Another mentor will be able to find it easier.