If I understand you correctly, your model must take cm and kg inputs and calculate the target, right?

Why do you say the model is discrete? The targets are floats, so MSE loss should be fine.
The cm and kg inputs are integers, but converting them to floats shouldn’t pose any problems.

I don’t see how an RNN could be used in this situation.