raise ValueError("Now DIN only support sparse input")
sparse_input, user_behavior_input, user_behavior_length = get_input(
feature_dim_dict, seq_feature_list, hist_len_max)
sparse_embedding_dict = {feat: Embedding(feature_dim_dict["sparse"][feat], embedding_size,
embeddings_initializer=RandomNormal(
mean=0.0, stddev=init_std, seed=seed),
embeddings_regularizer=l2(
After Change
:return: A Keras model instance.
check_feature_config_dict(feature_dim_dict)
if len(feature_dim_dict["dense"]) > 0:
raise ValueError("Now DIN only support sparse input")
sparse_input, user_behavior_input, user_behavior_length = get_input(