Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Understanding DCN Network #300

Open
nishank974 opened this issue Nov 5, 2024 · 0 comments
Open

Understanding DCN Network #300

nishank974 opened this issue Nov 5, 2024 · 0 comments
Labels
question Further information is requested

Comments

@nishank974
Copy link

nishank974 commented Nov 5, 2024

Describe the question(问题描述)

  1. In DCN network why do we have a linear_model(X) in forward function? What is the use of linear_model?

  2. Why do you have separate embedding layers for linear_model and for dnn and cross.

` def forward(self, X):

    logit = self.linear_model(X) # this line Q1
    sparse_embedding_list, dense_value_list = self.input_from_feature_columns(X, self.dnn_feature_columns,
                                                                              self.embedding_dict) # this line Q2

    dnn_input = combined_dnn_input(sparse_embedding_list, dense_value_list)

`

@nishank974 nishank974 added the question Further information is requested label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant