We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
P.shape
NameError Traceback (most recent call last) in <cell line: 1>() ----> 1 P.shape
NameError: name 'P' is not defined
The text was updated successfully, but these errors were encountered:
P is just a normalization version of N for probability.
You can easily fix it by
P = N.float() P = P / P.sum(1, keepdim=True)
Sorry, something went wrong.
No branches or pull requests
P.shape
NameError Traceback (most recent call last)
in <cell line: 1>()
----> 1 P.shape
NameError: name 'P' is not defined
The text was updated successfully, but these errors were encountered: