So the output of my network is a list of propabilities, which I then round using tf.round() to be either 0 or 1, this is crucial for this project. I then found out that tf.roun
In range 0 1, translating and scaling a sigmoid can be a solution:
slope = 1000 center = 0.5 e = tf.exp(slope*(x-center)) round_diff = e/(e+1)