public static int {1}_{0}(float[] atts) {{
    int[] classes = new int[{2}];
    {3}
    int class_idx = 0;
    int class_val = classes[0];
    for (int i = 1; i < {2}; i++) {{
        if (classes[i] > class_val) {{
            class_idx = i;
            class_val = classes[i];
        }}
    }}
    return class_idx;
}}
