I am trying to apply a custom loss function to my CNN. This loss function should take in the prediction(event) and some "input variables" from that event. The CNN outp