def get_input_names(func_attrs: Dict[str, Any]) -> List[str]:
    """
    Return a list of rendered name strings for inputs. It returns nullptr
    for gamma and beta if they are None.
    """
    inputs = func_attrs["inputs"]
    x = inputs[0]
    gamma = None
    beta = None

    idx = 1
    if func_attrs["gamma_constant"] is None:
        gamma = inputs[idx]
        idx += 1
    if func_attrs["beta_constant"] is None:
        beta = inputs[idx]
        idx += 1

    input_name = x._attrs["name"]
    if gamma is None:
        gamma_name = "nullptr"
    else:
        gamma_name = gamma._attrs["name"]
    if beta is None:
        beta_name = "nullptr"
    else:
        beta_name = beta._attrs["name"]

    return (input_name, gamma_name, beta_name)
Return a list of rendered name strings for inputs. It returns nullptr
for gamma and beta if they are None.
python/aitemplate/backend/cuda/groupnorm/groupnorm_common.py