-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Closes #3051 - logp numpy array input fixed #3836
Merged
Merged
Changes from 3 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6ae7f20
Closes #3051 - logp numpy array input- fixed
Ahanmr 9418001
Merge pull request #1 from Ahanmr/Ahanmr-pymc3-contrib
Ahanmr 7420495
Closes #3051 - Allows numpy array input to logp
Ahanmr 9df27b3
fixes #3051
Ahanmr 1d53dcf
Fixes #3051
Ahanmr 4a8eb5e
updated RELEASE-NOTES.md
Ahanmr 03a0619
Merge pull request #2 from Ahanmr/release-notes
Ahanmr a20c453
Merge branch 'master' into HEAD
michaelosthege 9002e41
directly use floatX
michaelosthege 7f3b596
mention #3836
michaelosthege 27da5c7
move all deprecations into their own chapter, as done in previous rel…
michaelosthege 46f0fb0
add regression test
michaelosthege File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you want
k
to becomefloatX
, you can usefloatX(…)
directlyThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since, value.shape[-1] gives out an
int
value, I was trying to use intX to convert it to an array form, so that the error can be fixed, but I get your point, we can directly do,k=theano.config.floatX(value.shape[-1])
.Also, do you mean adding a test for testing this bug^ ? I'll do that right away.