Non differentiable loss function in CNN

i think this is actually the confusing point.

can you explain a little bit more?