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

Final Cell Error: TypeError: 'Tensor' object is not callableforward #4

Open
noahbrace opened this issue Jun 1, 2021 · 0 comments
Open

Comments

@noahbrace
Copy link

When trying to run the final cell, I get the error:


<ipython-input-25-1b39fcbcb9d1> in forward(self, x, mask)
      9         for i in range(numLayers):
     10             memories = self.cell(inputVector, mask)
---> 11             drop_out = dropout_mask(inputVector, (inputVector.size(0), 1, inputVector.size(2)), 0.5)
     12             inputVector = memories * drop_out
     13 

TypeError: 'Tensor' object is not callableforward

Has anyone else encountered this error and how have you solved it?

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