Functional API Question

I dont understand the error…
Can anyone check if anything is wrong with my code?
{mentor edit: code removed}

13_48_00|690x437](upload://bGdzkRXVWtAvvRGiAeBmJUzkZpO.png)

Please do not post your code on the forum. That’s not allowed by the Code of Conduct.

Just post your error messages. If a mentor needs to see your code, we’ll contact you with instructions.

Tip: Verify that you’re using the correct pool size and strides in every layer.

I corrected the pool size and strides but the error remains


Your implementation is incorrect. If I want to pass Y to ReLU or any other layer, using Functional API, the correct way is ReLU()(Y), not ReLU(Y).

Wrong syntax here:
image