def METHOD_NAME(self, config):
    sparse_feature_number = config.get(
        "hyper_parameters.sparse_feature_number")
    sparse_feature_dim = config.get("hyper_parameters.sparse_feature_dim")
    #fc_sizes = config.get("hyper_parameters.fc_sizes")
    layer_sizes_cin = config.get("hyper_parameters.layer_sizes_cin")
    layer_sizes_dnn = config.get("hyper_parameters.layer_sizes_dnn")
    sparse_fea_num = config.get('hyper_parameters.sparse_fea_num')
    dense_feature_dim = config.get('hyper_parameters.dense_input_dim')
    sparse_input_slot = config.get('hyper_parameters.sparse_inputs_slots')
    xdeepfm_model = net.xDeepFMLayer(
        sparse_feature_number, sparse_feature_dim, dense_feature_dim,
        sparse_input_slot - 1, layer_sizes_cin, layer_sizes_dnn)
    return xdeepfm_model