def gemm_config(func_attrs, dtype="float16"):
    """Extract (operation name, operation instance) pair from
    all operation candidates.

    Parameters
    ----------
    func_attrs : Dict
        Operation attributes.

    Returns
    -------
    Dict
        Extracted (operation name, operation instance) pair
        from all operation candidates.
    """
    import ck_lib  # noqa: F401

    op_kind = ck_lib.library.GemmKind.Gemm
    extra_kind = ck_lib.library.TensorOperation.AddTanh
    common.make_fproc_f16(func_attrs, RCR, op_kind, extra_kind)
Extract (operation name, operation instance) pair from
all operation candidates.

Parameters
----------
func_attrs : Dict
Operation attributes.

Returns
-------
Dict
Extracted (operation name, operation instance) pair
from all operation candidates.
python/aitemplate/backend/rocm/gemm/gemm_rcr_bias_tanh.py