Type casting changes data types in your model or data. The key metric here is data integrity. This means the values keep their meaning after changing types. For example, casting float to int should not lose important decimal information if the model needs it. If data changes wrongly, model results become wrong.
So, the main metric is correctness of data values after casting. This is often checked by comparing original and casted data or by monitoring model performance metrics like loss or accuracy after casting.