def reduce_min_gen_function(func_attrs):
    """the registered function for generating reduce_min kernel and all of
    its auxiliary functions

    Parameters
    ----------
    func_attrs : Dict[str, Any]
        holds attributes of this reduce_min op

    Returns
    -------
    str
        returns the rendered code for the complete implementation of this reduce min op
    """
    if _is_last_reduction_dim(func_attrs):
        return reduce_3d.gen_function(
            func_attrs,
            reduce_op="cutlass::minimum",
            reduction_identity="std::numeric_limits<ElementCompute>::max()",
        )
    else:
        return reduce_common.gen_function(
            func_attrs,
            reduction_op="cutlass::minimum",
            reduction_identity="std::numeric_limits<ElementCompute>::max()",
        )
the registered function for generating reduce_min kernel and all of
its auxiliary functions

Parameters
----------
func_attrs : Dict[str, Any]
holds attributes of this reduce_min op

Returns
-------
str
returns the rendered code for the complete implementation of this reduce min op
python/aitemplate/backend/cuda/reduce/reduce_min.py