I am incredibly confused as to the differences between the Tensorflow Class BinaryCrossentropy
and the Function binary_crossentropy
. The page where I see both on the documentation is here. The pages for the Class and the Function look nearly identical so if someone could explain it in a way that makes sense that would be fantastic.
Furthermore (but not really the main issue here) is when I pass the Function into my model.compile()
it does not give me any errors, and what is even more confusing to me is that I can seemingly pass anything into model.compile()
and running the line won't give any errors. Something like this:
model.compile(loss='gibberish')
gives absolutely no errors, despite the gibberish
loss function is defined nowhere. The documentation looks near identical so if someone could explain it in a way that makes sense that would be fantastic.
Thanks, Daniel