Mixing my own cost in eward.klqp inference?

Hi @JHChen check this similar question How to implement self-defined metric/loss function?