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

Is __call__ in ntm_cell correct? #21

Open
lsy643 opened this issue Nov 26, 2016 · 0 comments
Open

Is __call__ in ntm_cell correct? #21

lsy643 opened this issue Nov 26, 2016 · 0 comments

Comments

@lsy643
Copy link

lsy643 commented Nov 26, 2016

Hi
I am some kind of confused about the implementation of ntm_cell, especially the call() part.
According to the code, it seems that the new_output has nothing to do with the memory part.
Should it be more plausible if the new_output adapts itself with memory part?
`
output_list, hidden_list = self.build_controller(input_, read_list_prev,
output_list_prev,
hidden_list_prev)

    # last output layer from LSTM controller
    last_output = output_list[-1]

    # build a memory
    M, read_w_list, write_w_list, read_list = self.build_memory(M_prev,
                                                                read_w_list_prev,
                                                                write_w_list_prev,
                                                                last_output)

    # get a new output
    new_output, new_output_logit = self.new_output(last_output)

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant