{"action":"created","comment":{"url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/comments/239336450","pull_request_review_id":182093598,"id":239336450,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTMzNjQ1MA==","diff_hunk":"@@ -1724,12 +1724,29 @@ static Status TranslateFusedBatchNormOp(\n     ng_y = make_shared<ng::op::GetOutputElement>(ng_batch_norm, 0);\n     ng_mean = make_shared<ng::op::GetOutputElement>(ng_batch_norm, 1);\n     ng_variance = make_shared<ng::op::GetOutputElement>(ng_batch_norm, 2);\n+    // This is for Bessel's correction in ng_variance:","path":"src/ngraph_builder.cc","position":4,"original_position":4,"commit_id":"f4fdbc511d81b043ec916451934663515714bbc7","original_commit_id":"f4fdbc511d81b043ec916451934663515714bbc7","user":{"login":"jianyinglang","id":30543987,"node_id":"MDQ6VXNlcjMwNTQzOTg3","avatar_url":"https://avatars1.githubusercontent.com/u/30543987?v=4","gravatar_id":"","url":"https://api.github.com/users/jianyinglang","html_url":"https://github.com/jianyinglang","followers_url":"https://api.github.com/users/jianyinglang/followers","following_url":"https://api.github.com/users/jianyinglang/following{/other_user}","gists_url":"https://api.github.com/users/jianyinglang/gists{/gist_id}","starred_url":"https://api.github.com/users/jianyinglang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianyinglang/subscriptions","organizations_url":"https://api.github.com/users/jianyinglang/orgs","repos_url":"https://api.github.com/users/jianyinglang/repos","events_url":"https://api.github.com/users/jianyinglang/events{/privacy}","received_events_url":"https://api.github.com/users/jianyinglang/received_events","type":"User","site_admin":false},"body":"The `n` is input data size divided by the channel size and not equal to n. For large input data size, this correction is negligible. \r\nSome of example implementation in TensorFlow can be found here: https://github.com/tensorflow/tensorflow/blob/a8e78e2e617b6ca10f4878fe99fdf43ddedfa7c6/tensorflow/core/kernels/mkl_fused_batch_norm_op.cc#L193","created_at":"2018-12-06T06:01:30Z","updated_at":"2018-12-06T06:01:31Z","html_url":"https://github.com/NervanaSystems/ngraph-tf/pull/357#discussion_r239336450","pull_request_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/357","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/comments/239336450"},"html":{"href":"https://github.com/NervanaSystems/ngraph-tf/pull/357#discussion_r239336450"},"pull_request":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/357"}},"in_reply_to_id":239310612},"pull_request":{"url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/357","id":235916073,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1OTE2MDcz","html_url":"https://github.com/NervanaSystems/ngraph-tf/pull/357","diff_url":"https://github.com/NervanaSystems/ngraph-tf/pull/357.diff","patch_url":"https://github.com/NervanaSystems/ngraph-tf/pull/357.patch","issue_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/357","number":357,"state":"open","locked":false,"title":"Langjian/batch norm unittest","user":{"login":"jianyinglang","id":30543987,"node_id":"MDQ6VXNlcjMwNTQzOTg3","avatar_url":"https://avatars1.githubusercontent.com/u/30543987?v=4","gravatar_id":"","url":"https://api.github.com/users/jianyinglang","html_url":"https://github.com/jianyinglang","followers_url":"https://api.github.com/users/jianyinglang/followers","following_url":"https://api.github.com/users/jianyinglang/following{/other_user}","gists_url":"https://api.github.com/users/jianyinglang/gists{/gist_id}","starred_url":"https://api.github.com/users/jianyinglang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jianyinglang/subscriptions","organizations_url":"https://api.github.com/users/jianyinglang/orgs","repos_url":"https://api.github.com/users/jianyinglang/repos","events_url":"https://api.github.com/users/jianyinglang/events{/privacy}","received_events_url":"https://api.github.com/users/jianyinglang/received_events","type":"User","site_admin":false},"body":"Fix the difference between tensorflow and ngraph caused by Bessel correction.","created_at":"2018-12-04T18:37:47Z","updated_at":"2018-12-06T06:01:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0276b7ee90db7a256209e22ac7fd3e56d30776b1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"avijit-nervana","id":30507445,"node_id":"MDQ6VXNlcjMwNTA3NDQ1","avatar_url":"https://avatars0.githubusercontent.com/u/30507445?v=4","gravatar_id":"","url":"https://api.github.com/users/avijit-nervana","html_url":"https://github.com/avijit-nervana","followers_url":"https://api.github.com/users/avijit-nervana/followers","following_url":"https://api.github.com/users/avijit-nervana/following{/other_user}","gists_url":"https://api.github.com/users/avijit-nervana/gists{/gist_id}","starred_url":"https://api.github.com/users/avijit-nervana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avijit-nervana/subscriptions","organizations_url":"https://api.github.com/users/avijit-nervana/orgs","repos_url":"https://api.github.com/users/avijit-nervana/repos","events_url":"https://api.github.com/users/avijit-nervana/events{/privacy}","received_events_url":"https://api.github.com/users/avijit-nervana/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/357/commits","review_comments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/357/comments","review_comment_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/357/comments","statuses_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/statuses/f4fdbc511d81b043ec916451934663515714bbc7","head":{"label":"NervanaSystems:langjian/BatchNorm_unittest","ref":"langjian/BatchNorm_unittest","sha":"f4fdbc511d81b043ec916451934663515714bbc7","user":{"login":"NervanaSystems","id":9260121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNjAxMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/9260121?v=4","gravatar_id":"","url":"https://api.github.com/users/NervanaSystems","html_url":"https://github.com/NervanaSystems","followers_url":"https://api.github.com/users/NervanaSystems/followers","following_url":"https://api.github.com/users/NervanaSystems/following{/other_user}","gists_url":"https://api.github.com/users/NervanaSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NervanaSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NervanaSystems/subscriptions","organizations_url":"https://api.github.com/users/NervanaSystems/orgs","repos_url":"https://api.github.com/users/NervanaSystems/repos","events_url":"https://api.github.com/users/NervanaSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NervanaSystems/received_events","type":"Organization","site_admin":false},"repo":{"id":133988684,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM5ODg2ODQ=","name":"ngraph-tf","full_name":"NervanaSystems/ngraph-tf","private":false,"owner":{"login":"NervanaSystems","id":9260121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNjAxMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/9260121?v=4","gravatar_id":"","url":"https://api.github.com/users/NervanaSystems","html_url":"https://github.com/NervanaSystems","followers_url":"https://api.github.com/users/NervanaSystems/followers","following_url":"https://api.github.com/users/NervanaSystems/following{/other_user}","gists_url":"https://api.github.com/users/NervanaSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NervanaSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NervanaSystems/subscriptions","organizations_url":"https://api.github.com/users/NervanaSystems/orgs","repos_url":"https://api.github.com/users/NervanaSystems/repos","events_url":"https://api.github.com/users/NervanaSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NervanaSystems/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NervanaSystems/ngraph-tf","description":"Bridge to connect nGraph with TensorFlow","fork":false,"url":"https://api.github.com/repos/NervanaSystems/ngraph-tf","forks_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/forks","keys_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/teams","hooks_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/hooks","issue_events_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/events{/number}","events_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/events","assignees_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/assignees{/user}","branches_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/branches{/branch}","tags_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/tags","blobs_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/refs{/sha}","trees_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/statuses/{sha}","languages_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/languages","stargazers_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/stargazers","contributors_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/contributors","subscribers_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/subscribers","subscription_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/subscription","commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/commits{/sha}","git_commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/commits{/sha}","comments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/comments{/number}","issue_comment_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/comments{/number}","contents_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/contents/{+path}","compare_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/merges","archive_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/downloads","issues_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues{/number}","pulls_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls{/number}","milestones_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/milestones{/number}","notifications_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/labels{/name}","releases_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/releases{/id}","deployments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/deployments","created_at":"2018-05-18T18:08:43Z","updated_at":"2018-12-05T21:25:45Z","pushed_at":"2018-12-06T00:20:44Z","git_url":"git://github.com/NervanaSystems/ngraph-tf.git","ssh_url":"git@github.com:NervanaSystems/ngraph-tf.git","clone_url":"https://github.com/NervanaSystems/ngraph-tf.git","svn_url":"https://github.com/NervanaSystems/ngraph-tf","homepage":"","size":112889,"stargazers_count":41,"watchers_count":41,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7,"open_issues":27,"watchers":41,"default_branch":"master"}},"base":{"label":"NervanaSystems:master","ref":"master","sha":"7416cd238a5fea8f5b5c85c477bd2b4f6a337e0f","user":{"login":"NervanaSystems","id":9260121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNjAxMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/9260121?v=4","gravatar_id":"","url":"https://api.github.com/users/NervanaSystems","html_url":"https://github.com/NervanaSystems","followers_url":"https://api.github.com/users/NervanaSystems/followers","following_url":"https://api.github.com/users/NervanaSystems/following{/other_user}","gists_url":"https://api.github.com/users/NervanaSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NervanaSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NervanaSystems/subscriptions","organizations_url":"https://api.github.com/users/NervanaSystems/orgs","repos_url":"https://api.github.com/users/NervanaSystems/repos","events_url":"https://api.github.com/users/NervanaSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NervanaSystems/received_events","type":"Organization","site_admin":false},"repo":{"id":133988684,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM5ODg2ODQ=","name":"ngraph-tf","full_name":"NervanaSystems/ngraph-tf","private":false,"owner":{"login":"NervanaSystems","id":9260121,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNjAxMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/9260121?v=4","gravatar_id":"","url":"https://api.github.com/users/NervanaSystems","html_url":"https://github.com/NervanaSystems","followers_url":"https://api.github.com/users/NervanaSystems/followers","following_url":"https://api.github.com/users/NervanaSystems/following{/other_user}","gists_url":"https://api.github.com/users/NervanaSystems/gists{/gist_id}","starred_url":"https://api.github.com/users/NervanaSystems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NervanaSystems/subscriptions","organizations_url":"https://api.github.com/users/NervanaSystems/orgs","repos_url":"https://api.github.com/users/NervanaSystems/repos","events_url":"https://api.github.com/users/NervanaSystems/events{/privacy}","received_events_url":"https://api.github.com/users/NervanaSystems/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/NervanaSystems/ngraph-tf","description":"Bridge to connect nGraph with TensorFlow","fork":false,"url":"https://api.github.com/repos/NervanaSystems/ngraph-tf","forks_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/forks","keys_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/teams","hooks_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/hooks","issue_events_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/events{/number}","events_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/events","assignees_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/assignees{/user}","branches_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/branches{/branch}","tags_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/tags","blobs_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/refs{/sha}","trees_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/statuses/{sha}","languages_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/languages","stargazers_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/stargazers","contributors_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/contributors","subscribers_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/subscribers","subscription_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/subscription","commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/commits{/sha}","git_commits_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/git/commits{/sha}","comments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/comments{/number}","issue_comment_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/comments{/number}","contents_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/contents/{+path}","compare_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/merges","archive_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/downloads","issues_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues{/number}","pulls_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls{/number}","milestones_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/milestones{/number}","notifications_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/labels{/name}","releases_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/releases{/id}","deployments_url":"https://api.github.com/repos/NervanaSystems/ngraph-tf/deployments","created_at":"2018-05-18T18:08:43Z","updated_at":"2018-12-05T21:25:45Z","pushed_at":"2018-12-06T00:20:44Z","git_url":"git://github.com/NervanaSystems/ngraph-tf.git","ssh_url":"git@github.com:NervanaSystems/ngraph-tf.git","clone_url":"https://github.com/NervanaSystems/ngraph-tf.git","svn_url":"https://github.com/NervanaSystems/ngraph-tf","homepage":"","size":112889,"stargazers_count":41,"watchers_count":41,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":7,"open_issues":27,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/357"},"html":{"href":"https://github.com/NervanaSystems/ngraph-tf/pull/357"},"issue":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/357"},"comments":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/issues/357/comments"},"review_comments":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/357/comments"},"review_comment":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/pulls/357/commits"},"statuses":{"href":"https://api.github.com/repos/NervanaSystems/ngraph-tf/statuses/f4fdbc511d81b043ec916451934663515714bbc7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jianyinglang"}}