def METHOD_NAME(test_case):
    arg_dict = OrderedDict()
    arg_dict["device"] = ["cpu", "cuda"]
    for arg in GenArgList(arg_dict):
        _test_embedding_padding_idx(test_case, *arg)
        _test_embedding_scale_by_freq(test_case, *arg)