{"action":"closed","number":10921,"pull_request":{"url":"https://api.github.com/repos/pytorch/pytorch/pulls/10921","id":211255695,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMjU1Njk1","html_url":"https://github.com/pytorch/pytorch/pull/10921","diff_url":"https://github.com/pytorch/pytorch/pull/10921.diff","patch_url":"https://github.com/pytorch/pytorch/pull/10921.patch","issue_url":"https://api.github.com/repos/pytorch/pytorch/issues/10921","number":10921,"state":"closed","locked":false,"title":"Add Bool type to IR","user":{"login":"driazati","id":9407960,"node_id":"MDQ6VXNlcjk0MDc5NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/9407960?v=4","gravatar_id":"","url":"https://api.github.com/users/driazati","html_url":"https://github.com/driazati","followers_url":"https://api.github.com/users/driazati/followers","following_url":"https://api.github.com/users/driazati/following{/other_user}","gists_url":"https://api.github.com/users/driazati/gists{/gist_id}","starred_url":"https://api.github.com/users/driazati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driazati/subscriptions","organizations_url":"https://api.github.com/users/driazati/orgs","repos_url":"https://api.github.com/users/driazati/repos","events_url":"https://api.github.com/users/driazati/events{/privacy}","received_events_url":"https://api.github.com/users/driazati/received_events","type":"User","site_admin":false},"body":"Fixes issue in #8758\r\n\r\n* Adds explicit bool type and removes previous coercion from bool to int\r\n* A couple tests now pass as a result\r\n\r\n","created_at":"2018-08-27T23:02:38Z","updated_at":"2018-09-04T17:32:41Z","closed_at":"2018-09-04T17:32:40Z","merged_at":null,"merge_commit_sha":"73e5680b8075bbe481d1247831e62e174f15dde9","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ezyang","id":13564,"node_id":"MDQ6VXNlcjEzNTY0","avatar_url":"https://avatars0.githubusercontent.com/u/13564?v=4","gravatar_id":"","url":"https://api.github.com/users/ezyang","html_url":"https://github.com/ezyang","followers_url":"https://api.github.com/users/ezyang/followers","following_url":"https://api.github.com/users/ezyang/following{/other_user}","gists_url":"https://api.github.com/users/ezyang/gists{/gist_id}","starred_url":"https://api.github.com/users/ezyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezyang/subscriptions","organizations_url":"https://api.github.com/users/ezyang/orgs","repos_url":"https://api.github.com/users/ezyang/repos","events_url":"https://api.github.com/users/ezyang/events{/privacy}","received_events_url":"https://api.github.com/users/ezyang/received_events","type":"User","site_admin":false},{"login":"zdevito","id":370202,"node_id":"MDQ6VXNlcjM3MDIwMg==","avatar_url":"https://avatars0.githubusercontent.com/u/370202?v=4","gravatar_id":"","url":"https://api.github.com/users/zdevito","html_url":"https://github.com/zdevito","followers_url":"https://api.github.com/users/zdevito/followers","following_url":"https://api.github.com/users/zdevito/following{/other_user}","gists_url":"https://api.github.com/users/zdevito/gists{/gist_id}","starred_url":"https://api.github.com/users/zdevito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdevito/subscriptions","organizations_url":"https://api.github.com/users/zdevito/orgs","repos_url":"https://api.github.com/users/zdevito/repos","events_url":"https://api.github.com/users/zdevito/events{/privacy}","received_events_url":"https://api.github.com/users/zdevito/received_events","type":"User","site_admin":false},{"login":"colesbury","id":655866,"node_id":"MDQ6VXNlcjY1NTg2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/655866?v=4","gravatar_id":"","url":"https://api.github.com/users/colesbury","html_url":"https://github.com/colesbury","followers_url":"https://api.github.com/users/colesbury/followers","following_url":"https://api.github.com/users/colesbury/following{/other_user}","gists_url":"https://api.github.com/users/colesbury/gists{/gist_id}","starred_url":"https://api.github.com/users/colesbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colesbury/subscriptions","organizations_url":"https://api.github.com/users/colesbury/orgs","repos_url":"https://api.github.com/users/colesbury/repos","events_url":"https://api.github.com/users/colesbury/events{/privacy}","received_events_url":"https://api.github.com/users/colesbury/received_events","type":"User","site_admin":false},{"login":"soumith","id":1310570,"node_id":"MDQ6VXNlcjEzMTA1NzA=","avatar_url":"https://avatars0.githubusercontent.com/u/1310570?v=4","gravatar_id":"","url":"https://api.github.com/users/soumith","html_url":"https://github.com/soumith","followers_url":"https://api.github.com/users/soumith/followers","following_url":"https://api.github.com/users/soumith/following{/other_user}","gists_url":"https://api.github.com/users/soumith/gists{/gist_id}","starred_url":"https://api.github.com/users/soumith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumith/subscriptions","organizations_url":"https://api.github.com/users/soumith/orgs","repos_url":"https://api.github.com/users/soumith/repos","events_url":"https://api.github.com/users/soumith/events{/privacy}","received_events_url":"https://api.github.com/users/soumith/received_events","type":"User","site_admin":false},{"login":"gchanan","id":3768583,"node_id":"MDQ6VXNlcjM3Njg1ODM=","avatar_url":"https://avatars2.githubusercontent.com/u/3768583?v=4","gravatar_id":"","url":"https://api.github.com/users/gchanan","html_url":"https://github.com/gchanan","followers_url":"https://api.github.com/users/gchanan/followers","following_url":"https://api.github.com/users/gchanan/following{/other_user}","gists_url":"https://api.github.com/users/gchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/gchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchanan/subscriptions","organizations_url":"https://api.github.com/users/gchanan/orgs","repos_url":"https://api.github.com/users/gchanan/repos","events_url":"https://api.github.com/users/gchanan/events{/privacy}","received_events_url":"https://api.github.com/users/gchanan/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pytorch/pytorch/pulls/10921/commits","review_comments_url":"https://api.github.com/repos/pytorch/pytorch/pulls/10921/comments","review_comment_url":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/10921/comments","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/928f684b004b9e90eeaaa9b05c42fd77b3ecff73","head":{"label":"driazati:ir_bool","ref":"ir_bool","sha":"928f684b004b9e90eeaaa9b05c42fd77b3ecff73","user":{"login":"driazati","id":9407960,"node_id":"MDQ6VXNlcjk0MDc5NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/9407960?v=4","gravatar_id":"","url":"https://api.github.com/users/driazati","html_url":"https://github.com/driazati","followers_url":"https://api.github.com/users/driazati/followers","following_url":"https://api.github.com/users/driazati/following{/other_user}","gists_url":"https://api.github.com/users/driazati/gists{/gist_id}","starred_url":"https://api.github.com/users/driazati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driazati/subscriptions","organizations_url":"https://api.github.com/users/driazati/orgs","repos_url":"https://api.github.com/users/driazati/repos","events_url":"https://api.github.com/users/driazati/events{/privacy}","received_events_url":"https://api.github.com/users/driazati/received_events","type":"User","site_admin":false},"repo":{"id":142357224,"node_id":"MDEwOlJlcG9zaXRvcnkxNDIzNTcyMjQ=","name":"pytorch","full_name":"driazati/pytorch","owner":{"login":"driazati","id":9407960,"node_id":"MDQ6VXNlcjk0MDc5NjA=","avatar_url":"https://avatars3.githubusercontent.com/u/9407960?v=4","gravatar_id":"","url":"https://api.github.com/users/driazati","html_url":"https://github.com/driazati","followers_url":"https://api.github.com/users/driazati/followers","following_url":"https://api.github.com/users/driazati/following{/other_user}","gists_url":"https://api.github.com/users/driazati/gists{/gist_id}","starred_url":"https://api.github.com/users/driazati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driazati/subscriptions","organizations_url":"https://api.github.com/users/driazati/orgs","repos_url":"https://api.github.com/users/driazati/repos","events_url":"https://api.github.com/users/driazati/events{/privacy}","received_events_url":"https://api.github.com/users/driazati/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/driazati/pytorch","description":"Tensors and Dynamic neural networks in Python  with strong GPU acceleration","fork":true,"url":"https://api.github.com/repos/driazati/pytorch","forks_url":"https://api.github.com/repos/driazati/pytorch/forks","keys_url":"https://api.github.com/repos/driazati/pytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/driazati/pytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/driazati/pytorch/teams","hooks_url":"https://api.github.com/repos/driazati/pytorch/hooks","issue_events_url":"https://api.github.com/repos/driazati/pytorch/issues/events{/number}","events_url":"https://api.github.com/repos/driazati/pytorch/events","assignees_url":"https://api.github.com/repos/driazati/pytorch/assignees{/user}","branches_url":"https://api.github.com/repos/driazati/pytorch/branches{/branch}","tags_url":"https://api.github.com/repos/driazati/pytorch/tags","blobs_url":"https://api.github.com/repos/driazati/pytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/driazati/pytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/driazati/pytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/driazati/pytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/driazati/pytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/driazati/pytorch/languages","stargazers_url":"https://api.github.com/repos/driazati/pytorch/stargazers","contributors_url":"https://api.github.com/repos/driazati/pytorch/contributors","subscribers_url":"https://api.github.com/repos/driazati/pytorch/subscribers","subscription_url":"https://api.github.com/repos/driazati/pytorch/subscription","commits_url":"https://api.github.com/repos/driazati/pytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/driazati/pytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/driazati/pytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/driazati/pytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/driazati/pytorch/contents/{+path}","compare_url":"https://api.github.com/repos/driazati/pytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/driazati/pytorch/merges","archive_url":"https://api.github.com/repos/driazati/pytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/driazati/pytorch/downloads","issues_url":"https://api.github.com/repos/driazati/pytorch/issues{/number}","pulls_url":"https://api.github.com/repos/driazati/pytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/driazati/pytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/driazati/pytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/driazati/pytorch/labels{/name}","releases_url":"https://api.github.com/repos/driazati/pytorch/releases{/id}","deployments_url":"https://api.github.com/repos/driazati/pytorch/deployments","created_at":"2018-07-25T21:46:55Z","updated_at":"2018-08-31T02:52:24Z","pushed_at":"2018-09-02T23:07:05Z","git_url":"git://github.com/driazati/pytorch.git","ssh_url":"git@github.com:driazati/pytorch.git","clone_url":"https://github.com/driazati/pytorch.git","svn_url":"https://github.com/driazati/pytorch","homepage":"http://pytorch.org","size":70245,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pytorch:master","ref":"master","sha":"0a8c8c1dbead2f845e524ae32c19167d80363148","user":{"login":"pytorch","id":21003710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDAzNzEw","avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"repo":{"id":65600975,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYwMDk3NQ==","name":"pytorch","full_name":"pytorch/pytorch","owner":{"login":"pytorch","id":21003710,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDAzNzEw","avatar_url":"https://avatars3.githubusercontent.com/u/21003710?v=4","gravatar_id":"","url":"https://api.github.com/users/pytorch","html_url":"https://github.com/pytorch","followers_url":"https://api.github.com/users/pytorch/followers","following_url":"https://api.github.com/users/pytorch/following{/other_user}","gists_url":"https://api.github.com/users/pytorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pytorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytorch/subscriptions","organizations_url":"https://api.github.com/users/pytorch/orgs","repos_url":"https://api.github.com/users/pytorch/repos","events_url":"https://api.github.com/users/pytorch/events{/privacy}","received_events_url":"https://api.github.com/users/pytorch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pytorch/pytorch","description":"Tensors and Dynamic neural networks in Python  with strong GPU acceleration","fork":false,"url":"https://api.github.com/repos/pytorch/pytorch","forks_url":"https://api.github.com/repos/pytorch/pytorch/forks","keys_url":"https://api.github.com/repos/pytorch/pytorch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pytorch/pytorch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pytorch/pytorch/teams","hooks_url":"https://api.github.com/repos/pytorch/pytorch/hooks","issue_events_url":"https://api.github.com/repos/pytorch/pytorch/issues/events{/number}","events_url":"https://api.github.com/repos/pytorch/pytorch/events","assignees_url":"https://api.github.com/repos/pytorch/pytorch/assignees{/user}","branches_url":"https://api.github.com/repos/pytorch/pytorch/branches{/branch}","tags_url":"https://api.github.com/repos/pytorch/pytorch/tags","blobs_url":"https://api.github.com/repos/pytorch/pytorch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pytorch/pytorch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pytorch/pytorch/git/refs{/sha}","trees_url":"https://api.github.com/repos/pytorch/pytorch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pytorch/pytorch/statuses/{sha}","languages_url":"https://api.github.com/repos/pytorch/pytorch/languages","stargazers_url":"https://api.github.com/repos/pytorch/pytorch/stargazers","contributors_url":"https://api.github.com/repos/pytorch/pytorch/contributors","subscribers_url":"https://api.github.com/repos/pytorch/pytorch/subscribers","subscription_url":"https://api.github.com/repos/pytorch/pytorch/subscription","commits_url":"https://api.github.com/repos/pytorch/pytorch/commits{/sha}","git_commits_url":"https://api.github.com/repos/pytorch/pytorch/git/commits{/sha}","comments_url":"https://api.github.com/repos/pytorch/pytorch/comments{/number}","issue_comment_url":"https://api.github.com/repos/pytorch/pytorch/issues/comments{/number}","contents_url":"https://api.github.com/repos/pytorch/pytorch/contents/{+path}","compare_url":"https://api.github.com/repos/pytorch/pytorch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pytorch/pytorch/merges","archive_url":"https://api.github.com/repos/pytorch/pytorch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pytorch/pytorch/downloads","issues_url":"https://api.github.com/repos/pytorch/pytorch/issues{/number}","pulls_url":"https://api.github.com/repos/pytorch/pytorch/pulls{/number}","milestones_url":"https://api.github.com/repos/pytorch/pytorch/milestones{/number}","notifications_url":"https://api.github.com/repos/pytorch/pytorch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pytorch/pytorch/labels{/name}","releases_url":"https://api.github.com/repos/pytorch/pytorch/releases{/id}","deployments_url":"https://api.github.com/repos/pytorch/pytorch/deployments","created_at":"2016-08-13T05:26:41Z","updated_at":"2018-09-04T17:30:59Z","pushed_at":"2018-09-04T17:18:53Z","git_url":"git://github.com/pytorch/pytorch.git","ssh_url":"git@github.com:pytorch/pytorch.git","clone_url":"https://github.com/pytorch/pytorch.git","svn_url":"https://github.com/pytorch/pytorch","homepage":"http://pytorch.org","size":70948,"stargazers_count":18378,"watchers_count":18378,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4385,"mirror_url":null,"archived":false,"open_issues_count":1717,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4385,"open_issues":1717,"watchers":18378,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/10921"},"html":{"href":"https://github.com/pytorch/pytorch/pull/10921"},"issue":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/10921"},"comments":{"href":"https://api.github.com/repos/pytorch/pytorch/issues/10921/comments"},"review_comments":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/10921/comments"},"review_comment":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pytorch/pytorch/pulls/10921/commits"},"statuses":{"href":"https://api.github.com/repos/pytorch/pytorch/statuses/928f684b004b9e90eeaaa9b05c42fd77b3ecff73"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":2,"maintainer_can_modify":false,"commits":6,"additions":244,"deletions":93,"changed_files":38}}
{"actor":{"display_login":"driazati"}}