fn
promote_and_check_layer_operands
int promote_and_check_layer_operands(const OpSchema & schema, const int & x, const int & W, const int & b)Promote (x, W, b) under schema (linear / conv / conv_transpose) and require all three to share one dtype after any autocast conversion.