{"action":"created","comment":{"url":"https://api.github.com/repos/intel/webml-polyfill/pulls/comments/186286854","pull_request_review_id":117836619,"id":186286854,"diff_hunk":"@@ -0,0 +1,215 @@\n+let nnPolyfill, nnNative;\n+if (navigator.ml.isPolyfill) {\n+  nnNative = null;\n+  nnPolyfill = navigator.ml.getNeuralNetworkContext();\n+} else {\n+  nnNative = navigator.ml.getNeuralNetworkContext();\n+  nnPolyfill = navigator.ml_polyfill.getNeuralNetworkContext();\n+}","path":"examples/ssd_mobilenet/MobileNet.js","position":8,"original_position":8,"commit_id":"5b7099b48a643cf15d9b4b654c76f9d9f149e436","original_commit_id":"5b7099b48a643cf15d9b4b654c76f9d9f149e436","user":{"login":"huningxin","id":1005673,"avatar_url":"https://avatars1.githubusercontent.com/u/1005673?v=4","gravatar_id":"","url":"https://api.github.com/users/huningxin","html_url":"https://github.com/huningxin","followers_url":"https://api.github.com/users/huningxin/followers","following_url":"https://api.github.com/users/huningxin/following{/other_user}","gists_url":"https://api.github.com/users/huningxin/gists{/gist_id}","starred_url":"https://api.github.com/users/huningxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huningxin/subscriptions","organizations_url":"https://api.github.com/users/huningxin/orgs","repos_url":"https://api.github.com/users/huningxin/repos","events_url":"https://api.github.com/users/huningxin/events{/privacy}","received_events_url":"https://api.github.com/users/huningxin/received_events","type":"User","site_admin":false},"body":"Please remove above code as they are in https://github.com/intel/webml-polyfill/blob/master/examples/util/base.js","created_at":"2018-05-06T11:13:56Z","updated_at":"2018-05-06T11:16:07Z","html_url":"https://github.com/intel/webml-polyfill/pull/42#discussion_r186286854","pull_request_url":"https://api.github.com/repos/intel/webml-polyfill/pulls/42","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/intel/webml-polyfill/pulls/comments/186286854"},"html":{"href":"https://github.com/intel/webml-polyfill/pull/42#discussion_r186286854"},"pull_request":{"href":"https://api.github.com/repos/intel/webml-polyfill/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/intel/webml-polyfill/pulls/42","id":184230433,"html_url":"https://github.com/intel/webml-polyfill/pull/42","diff_url":"https://github.com/intel/webml-polyfill/pull/42.diff","patch_url":"https://github.com/intel/webml-polyfill/pull/42.patch","issue_url":"https://api.github.com/repos/intel/webml-polyfill/issues/42","number":42,"state":"open","locked":false,"title":"[Webgl2] Add ssd_mobilenet","user":{"login":"ganwenyao","id":26854899,"avatar_url":"https://avatars3.githubusercontent.com/u/26854899?v=4","gravatar_id":"","url":"https://api.github.com/users/ganwenyao","html_url":"https://github.com/ganwenyao","followers_url":"https://api.github.com/users/ganwenyao/followers","following_url":"https://api.github.com/users/ganwenyao/following{/other_user}","gists_url":"https://api.github.com/users/ganwenyao/gists{/gist_id}","starred_url":"https://api.github.com/users/ganwenyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganwenyao/subscriptions","organizations_url":"https://api.github.com/users/ganwenyao/orgs","repos_url":"https://api.github.com/users/ganwenyao/repos","events_url":"https://api.github.com/users/ganwenyao/events{/privacy}","received_events_url":"https://api.github.com/users/ganwenyao/received_events","type":"User","site_admin":false},"body":"Fix https://github.com/intel/webml-polyfill/issues/16","created_at":"2018-04-26T05:31:44Z","updated_at":"2018-05-06T11:16:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59153732a494fada267a5ab90f91e8725dd41e74","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/intel/webml-polyfill/pulls/42/commits","review_comments_url":"https://api.github.com/repos/intel/webml-polyfill/pulls/42/comments","review_comment_url":"https://api.github.com/repos/intel/webml-polyfill/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intel/webml-polyfill/issues/42/comments","statuses_url":"https://api.github.com/repos/intel/webml-polyfill/statuses/5b7099b48a643cf15d9b4b654c76f9d9f149e436","head":{"label":"ganwenyao:webgl2","ref":"webgl2","sha":"5b7099b48a643cf15d9b4b654c76f9d9f149e436","user":{"login":"ganwenyao","id":26854899,"avatar_url":"https://avatars3.githubusercontent.com/u/26854899?v=4","gravatar_id":"","url":"https://api.github.com/users/ganwenyao","html_url":"https://github.com/ganwenyao","followers_url":"https://api.github.com/users/ganwenyao/followers","following_url":"https://api.github.com/users/ganwenyao/following{/other_user}","gists_url":"https://api.github.com/users/ganwenyao/gists{/gist_id}","starred_url":"https://api.github.com/users/ganwenyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganwenyao/subscriptions","organizations_url":"https://api.github.com/users/ganwenyao/orgs","repos_url":"https://api.github.com/users/ganwenyao/repos","events_url":"https://api.github.com/users/ganwenyao/events{/privacy}","received_events_url":"https://api.github.com/users/ganwenyao/received_events","type":"User","site_admin":false},"repo":{"id":129238861,"name":"webml-polyfill-1","full_name":"ganwenyao/webml-polyfill-1","owner":{"login":"ganwenyao","id":26854899,"avatar_url":"https://avatars3.githubusercontent.com/u/26854899?v=4","gravatar_id":"","url":"https://api.github.com/users/ganwenyao","html_url":"https://github.com/ganwenyao","followers_url":"https://api.github.com/users/ganwenyao/followers","following_url":"https://api.github.com/users/ganwenyao/following{/other_user}","gists_url":"https://api.github.com/users/ganwenyao/gists{/gist_id}","starred_url":"https://api.github.com/users/ganwenyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganwenyao/subscriptions","organizations_url":"https://api.github.com/users/ganwenyao/orgs","repos_url":"https://api.github.com/users/ganwenyao/repos","events_url":"https://api.github.com/users/ganwenyao/events{/privacy}","received_events_url":"https://api.github.com/users/ganwenyao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ganwenyao/webml-polyfill-1","description":null,"fork":true,"url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1","forks_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/forks","keys_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/teams","hooks_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/hooks","issue_events_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/issues/events{/number}","events_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/events","assignees_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/assignees{/user}","branches_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/branches{/branch}","tags_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/tags","blobs_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/statuses/{sha}","languages_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/languages","stargazers_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/stargazers","contributors_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/contributors","subscribers_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/subscribers","subscription_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/subscription","commits_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/contents/{+path}","compare_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/merges","archive_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/downloads","issues_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/issues{/number}","pulls_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/pulls{/number}","milestones_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/milestones{/number}","notifications_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/labels{/name}","releases_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/releases{/id}","deployments_url":"https://api.github.com/repos/ganwenyao/webml-polyfill-1/deployments","created_at":"2018-04-12T11:11:43Z","updated_at":"2018-04-12T11:11:45Z","pushed_at":"2018-05-04T03:05:13Z","git_url":"git://github.com/ganwenyao/webml-polyfill-1.git","ssh_url":"git@github.com:ganwenyao/webml-polyfill-1.git","clone_url":"https://github.com/ganwenyao/webml-polyfill-1.git","svn_url":"https://github.com/ganwenyao/webml-polyfill-1","homepage":null,"size":3031,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"intel:master","ref":"master","sha":"2aea4ae26e0380b93fbc0f9865080420fa1b5161","user":{"login":"intel","id":17888862,"avatar_url":"https://avatars3.githubusercontent.com/u/17888862?v=4","gravatar_id":"","url":"https://api.github.com/users/intel","html_url":"https://github.com/intel","followers_url":"https://api.github.com/users/intel/followers","following_url":"https://api.github.com/users/intel/following{/other_user}","gists_url":"https://api.github.com/users/intel/gists{/gist_id}","starred_url":"https://api.github.com/users/intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel/subscriptions","organizations_url":"https://api.github.com/users/intel/orgs","repos_url":"https://api.github.com/users/intel/repos","events_url":"https://api.github.com/users/intel/events{/privacy}","received_events_url":"https://api.github.com/users/intel/received_events","type":"Organization","site_admin":false},"repo":{"id":126892425,"name":"webml-polyfill","full_name":"intel/webml-polyfill","owner":{"login":"intel","id":17888862,"avatar_url":"https://avatars3.githubusercontent.com/u/17888862?v=4","gravatar_id":"","url":"https://api.github.com/users/intel","html_url":"https://github.com/intel","followers_url":"https://api.github.com/users/intel/followers","following_url":"https://api.github.com/users/intel/following{/other_user}","gists_url":"https://api.github.com/users/intel/gists{/gist_id}","starred_url":"https://api.github.com/users/intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel/subscriptions","organizations_url":"https://api.github.com/users/intel/orgs","repos_url":"https://api.github.com/users/intel/repos","events_url":"https://api.github.com/users/intel/events{/privacy}","received_events_url":"https://api.github.com/users/intel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intel/webml-polyfill","description":null,"fork":false,"url":"https://api.github.com/repos/intel/webml-polyfill","forks_url":"https://api.github.com/repos/intel/webml-polyfill/forks","keys_url":"https://api.github.com/repos/intel/webml-polyfill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intel/webml-polyfill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intel/webml-polyfill/teams","hooks_url":"https://api.github.com/repos/intel/webml-polyfill/hooks","issue_events_url":"https://api.github.com/repos/intel/webml-polyfill/issues/events{/number}","events_url":"https://api.github.com/repos/intel/webml-polyfill/events","assignees_url":"https://api.github.com/repos/intel/webml-polyfill/assignees{/user}","branches_url":"https://api.github.com/repos/intel/webml-polyfill/branches{/branch}","tags_url":"https://api.github.com/repos/intel/webml-polyfill/tags","blobs_url":"https://api.github.com/repos/intel/webml-polyfill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intel/webml-polyfill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intel/webml-polyfill/git/refs{/sha}","trees_url":"https://api.github.com/repos/intel/webml-polyfill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intel/webml-polyfill/statuses/{sha}","languages_url":"https://api.github.com/repos/intel/webml-polyfill/languages","stargazers_url":"https://api.github.com/repos/intel/webml-polyfill/stargazers","contributors_url":"https://api.github.com/repos/intel/webml-polyfill/contributors","subscribers_url":"https://api.github.com/repos/intel/webml-polyfill/subscribers","subscription_url":"https://api.github.com/repos/intel/webml-polyfill/subscription","commits_url":"https://api.github.com/repos/intel/webml-polyfill/commits{/sha}","git_commits_url":"https://api.github.com/repos/intel/webml-polyfill/git/commits{/sha}","comments_url":"https://api.github.com/repos/intel/webml-polyfill/comments{/number}","issue_comment_url":"https://api.github.com/repos/intel/webml-polyfill/issues/comments{/number}","contents_url":"https://api.github.com/repos/intel/webml-polyfill/contents/{+path}","compare_url":"https://api.github.com/repos/intel/webml-polyfill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intel/webml-polyfill/merges","archive_url":"https://api.github.com/repos/intel/webml-polyfill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intel/webml-polyfill/downloads","issues_url":"https://api.github.com/repos/intel/webml-polyfill/issues{/number}","pulls_url":"https://api.github.com/repos/intel/webml-polyfill/pulls{/number}","milestones_url":"https://api.github.com/repos/intel/webml-polyfill/milestones{/number}","notifications_url":"https://api.github.com/repos/intel/webml-polyfill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intel/webml-polyfill/labels{/name}","releases_url":"https://api.github.com/repos/intel/webml-polyfill/releases{/id}","deployments_url":"https://api.github.com/repos/intel/webml-polyfill/deployments","created_at":"2018-03-26T21:31:32Z","updated_at":"2018-05-03T02:23:53Z","pushed_at":"2018-05-04T03:05:15Z","git_url":"git://github.com/intel/webml-polyfill.git","ssh_url":"git@github.com:intel/webml-polyfill.git","clone_url":"https://github.com/intel/webml-polyfill.git","svn_url":"https://github.com/intel/webml-polyfill","homepage":null,"size":1621,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":8,"open_issues":19,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intel/webml-polyfill/pulls/42"},"html":{"href":"https://github.com/intel/webml-polyfill/pull/42"},"issue":{"href":"https://api.github.com/repos/intel/webml-polyfill/issues/42"},"comments":{"href":"https://api.github.com/repos/intel/webml-polyfill/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/intel/webml-polyfill/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/intel/webml-polyfill/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intel/webml-polyfill/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/intel/webml-polyfill/statuses/5b7099b48a643cf15d9b4b654c76f9d9f149e436"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"huningxin"}}