C3W3: Programming Assignment: Question Duplicates

Week 3 new

Please help me everyone, I tried for many many hours but I can’t find out where I did wrong and I can’t find solution out. please help me @@
here my code I did all following instruction but it’s not works (not pass the test)
Triplet loss function:

{mentor edit: code removed}

Thank you so much for supporting me!!!

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

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

Oh I’m sorry!
But if I cannot post the code, how everyone can review my code and help me show where is wrong?

That is not how the forum works. No one is allowed to share their code.

If you describe your problem, or post the results you get which cause an error from the notebook test, that is usually enough information to suggest where the problem is.