{"action":"created","issue":{"url":"https://api.github.com/repos/Theano/Theano/issues/3160","labels_url":"https://api.github.com/repos/Theano/Theano/issues/3160/labels{/name}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/3160/comments","events_url":"https://api.github.com/repos/Theano/Theano/issues/3160/events","html_url":"https://github.com/Theano/Theano/pull/3160","id":95530241,"number":3160,"title":"Props tensor","user":{"login":"harlouci","id":12720946,"avatar_url":"https://avatars.githubusercontent.com/u/12720946?v=3","gravatar_id":"","url":"https://api.github.com/users/harlouci","html_url":"https://github.com/harlouci","followers_url":"https://api.github.com/users/harlouci/followers","following_url":"https://api.github.com/users/harlouci/following{/other_user}","gists_url":"https://api.github.com/users/harlouci/gists{/gist_id}","starred_url":"https://api.github.com/users/harlouci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harlouci/subscriptions","organizations_url":"https://api.github.com/users/harlouci/orgs","repos_url":"https://api.github.com/users/harlouci/repos","events_url":"https://api.github.com/users/harlouci/events{/privacy}","received_events_url":"https://api.github.com/users/harlouci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-16T21:09:31Z","updated_at":"2015-07-24T16:02:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Theano/Theano/pulls/3160","html_url":"https://github.com/Theano/Theano/pull/3160","diff_url":"https://github.com/Theano/Theano/pull/3160.diff","patch_url":"https://github.com/Theano/Theano/pull/3160.patch"},"body":"props\r\n"},"comment":{"url":"https://api.github.com/repos/Theano/Theano/issues/comments/124567301","html_url":"https://github.com/Theano/Theano/pull/3160#issuecomment-124567301","issue_url":"https://api.github.com/repos/Theano/Theano/issues/3160","id":124567301,"user":{"login":"harlouci","id":12720946,"avatar_url":"https://avatars.githubusercontent.com/u/12720946?v=3","gravatar_id":"","url":"https://api.github.com/users/harlouci","html_url":"https://github.com/harlouci","followers_url":"https://api.github.com/users/harlouci/followers","following_url":"https://api.github.com/users/harlouci/following{/other_user}","gists_url":"https://api.github.com/users/harlouci/gists{/gist_id}","starred_url":"https://api.github.com/users/harlouci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harlouci/subscriptions","organizations_url":"https://api.github.com/users/harlouci/orgs","repos_url":"https://api.github.com/users/harlouci/repos","events_url":"https://api.github.com/users/harlouci/events{/privacy}","received_events_url":"https://api.github.com/users/harlouci/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T16:02:19Z","updated_at":"2015-07-24T16:02:19Z","body":"Well I see this :\n\n*$ theano-nose -s --pdb --pdb-failures\ntheano/tests/test_printing.py:test_scan_debugprint3*\n/u/harlouci/GitHub/Theano/theano/scan_module/scan_perform_ext.py:135:\nRuntimeWarning: numpy.ndarray size changed, may indicate binary\nincompatibility\n  from scan_perform.scan_perform import *\n>\n/u/harlouci/GitHub/Theano/theano/tests/test_printing.py(492)test_scan_debugprint3()\n-> assert truth.strip() == out.strip()\n(Pdb) print out.strip()\n|   |   |ARange{dtype='int8'} [@M] ''\n(Pdb) print truth.strip()\n|   |   |ARange [@M] ''\n\nNow, I see that there is at least a difference between both outputs at line\n13.\n\nI don't see how to fix it.\n\n2015-07-24 11:46 GMT-04:00 Pascal Lamblin <notifications@github.com>:\n\n> You can launch the test in question with theano-nose\n> theano/tests/test_printing.py:test_scan_debugprint2 to reproduce the\n> problem locally.\n> Then, you can either:\n>\n>    - add (temporarily) print(...) statements to visually inspect truth\n>    and out, or\n>    - use pdb to interrupt execution at that point and inspect the\n>    variables from inside the pdb shell.\n>\n> The easiest way to use pdb in that case, since there is an exception\n> raised, would be to launch:\n> theano-nose -s --pdb --pdb-failures\n> theano/tests/test_printing.py:test_scan_debugprint2.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Theano/Theano/pull/3160#issuecomment-124562909>.\n>\n"}}