FIX add more integer types to loss augmented inference utils. not sure this is the way to go :-/