I'm trying to solve this problem for hours but sill getting the NoneType' object has no attribute '_inbound_nodes' error.I think the issue is in tf.add(layer3_1_out,layer3_2_out). please help

I tried to attach the code snippet but it didn't detect my code as snippet,sorry for that.please help
Thank you.
Keras can't create model if you used a tensorflow operation without wrapping it into a layer. You have multiple options:
thank you very much.it working fine now :-)
I had a similar error before using Multiply(). However, using Lambda layer solved my issue. @gabrieldemarmiesse thanks!
Most helpful comment
Keras can't create model if you used a tensorflow operation without wrapping it into a layer. You have multiple options: