{"action":"created","comment":{"url":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/comments/216847646","pull_request_review_id":154426735,"id":216847646,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjg0NzY0Ng==","diff_hunk":"@@ -0,0 +1,81 @@\n+/*******************************************************************************\n+* Copyright 2018 Intel Corporation\n+*\n+* Licensed under the Apache License, Version 2.0 (the \"License\");\n+* you may not use this file except in compliance with the License.\n+* You may obtain a copy of the License at\n+*\n+*     http://www.apache.org/licenses/LICENSE-2.0\n+*\n+* Unless required by applicable law or agreed to in writing, software\n+* distributed under the License is distributed on an \"AS IS\" BASIS,\n+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+* See the License for the specific language governing permissions and\n+* limitations under the License.\n+*******************************************************************************/\n+/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+    http://www.apache.org/licenses/LICENSE-2.0\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+==============================================================================*/\n+#pragma once\n+#include <vector>\n+#include \"ngraph/node.hpp\"\n+#include \"ngraph/op/constant.hpp\"\n+#include \"ngraph/runtime/cpu/op/quantize.hpp\"\n+#include \"ngraph/util.hpp\"\n+namespace ngraph\n+{\n+    namespace runtime\n+    {\n+        namespace cpu\n+        {\n+            namespace quantization_util\n+            {\n+                static inline void get_min_max_range(const ngraph::Node* node,\n+                                                     std::vector<float>& quant_util)\n+                {","path":"src/ngraph/runtime/cpu/quantization_util.hpp","position":43,"original_position":43,"commit_id":"8c56e5a10b1e19cce38c5b525d4cceca6e804772","original_commit_id":"8c56e5a10b1e19cce38c5b525d4cceca6e804772","user":{"login":"jbobba","id":21375855,"node_id":"MDQ6VXNlcjIxMzc1ODU1","avatar_url":"https://avatars1.githubusercontent.com/u/21375855?v=4","gravatar_id":"","url":"https://api.github.com/users/jbobba","html_url":"https://github.com/jbobba","followers_url":"https://api.github.com/users/jbobba/followers","following_url":"https://api.github.com/users/jbobba/following{/other_user}","gists_url":"https://api.github.com/users/jbobba/gists{/gist_id}","starred_url":"https://api.github.com/users/jbobba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbobba/subscriptions","organizations_url":"https://api.github.com/users/jbobba/orgs","repos_url":"https://api.github.com/users/jbobba/repos","events_url":"https://api.github.com/users/jbobba/events{/privacy}","received_events_url":"https://api.github.com/users/jbobba/received_events","type":"User","site_admin":false},"body":"Make this independent of quantize node. You can take input_min_range and input_max_range as inputs and return adjusted min/max and scale.","created_at":"2018-09-11T22:44:34Z","updated_at":"2018-09-11T22:49:21Z","html_url":"https://github.com/NervanaSystems/ngraph/pull/1576#discussion_r216847646","pull_request_url":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/1576","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/comments/216847646"},"html":{"href":"https://github.com/NervanaSystems/ngraph/pull/1576#discussion_r216847646"},"pull_request":{"href":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/1576"}}},"pull_request":{"url":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/1576","id":214052324,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MDUyMzI0","html_url":"https://github.com/NervanaSystems/ngraph/pull/1576","diff_url":"https://github.com/NervanaSystems/ngraph/pull/1576.diff","patch_url":"https://github.com/NervanaSystems/ngraph/pull/1576.patch","issue_url":"https://api.github.com/repos/NervanaSystems/ngraph/issues/1576","number":1576,"state":"open","locked":false,"title":"Add support for Quantize op via mkldnn for IA backend (codegen + DEX)","user":{"login":"nbpatel","id":22088168,"node_id":"MDQ6VXNlcjIyMDg4MTY4","avatar_url":"https://avatars3.githubusercontent.com/u/22088168?v=4","gravatar_id":"","url":"https://api.github.com/users/nbpatel","html_url":"https://github.com/nbpatel","followers_url":"https://api.github.com/users/nbpatel/followers","following_url":"https://api.github.com/users/nbpatel/following{/other_user}","gists_url":"https://api.github.com/users/nbpatel/gists{/gist_id}","starred_url":"https://api.github.com/users/nbpatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbpatel/subscriptions","organizations_url":"https://api.github.com/users/nbpatel/orgs","repos_url":"https://api.github.com/users/nbpatel/repos","events_url":"https://api.github.com/users/nbpatel/events{/privacy}","received_events_url":"https://api.github.com/users/nbpatel/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-07T22:18:32Z","updated_at":"2018-09-11T22:49:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"775654039a2d307b3d1e3b9f8eb2dee784fe6ad5","assignee":null,"assignees":[],"requested_reviewers":[{"login":"aprocter","id":680992,"node_id":"MDQ6VXNlcjY4MDk5Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/680992?v=4","gravatar_id":"","url":"https://api.github.com/users/aprocter","html_url":"https://github.com/aprocter","followers_url":"https://api.github.com/users/aprocter/followers","following_url":"https://api.github.com/users/aprocter/following{/other_user}","gists_url":"https://api.github.com/users/aprocter/gists{/gist_id}","starred_url":"https://api.github.com/users/aprocter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aprocter/subscriptions","organizations_url":"https://api.github.com/users/aprocter/orgs","repos_url":"https://api.github.com/users/aprocter/repos","events_url":"https://api.github.com/users/aprocter/events{/privacy}","received_events_url":"https://api.github.com/users/aprocter/received_events","type":"User","site_admin":false},{"login":"Krovatkin","id":5086322,"node_id":"MDQ6VXNlcjUwODYzMjI=","avatar_url":"https://avatars0.githubusercontent.com/u/5086322?v=4","gravatar_id":"","url":"https://api.github.com/users/Krovatkin","html_url":"https://github.com/Krovatkin","followers_url":"https://api.github.com/users/Krovatkin/followers","following_url":"https://api.github.com/users/Krovatkin/following{/other_user}","gists_url":"https://api.github.com/users/Krovatkin/gists{/gist_id}","starred_url":"https://api.github.com/users/Krovatkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Krovatkin/subscriptions","organizations_url":"https://api.github.com/users/Krovatkin/orgs","repos_url":"https://api.github.com/users/Krovatkin/repos","events_url":"https://api.github.com/users/Krovatkin/events{/privacy}","received_events_url":"https://api.github.com/users/Krovatkin/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/1576/commits","review_comments_url":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/1576/comments","review_comment_url":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NervanaSystems/ngraph/issues/1576/comments","statuses_url":"https://api.github.com/repos/NervanaSystems/ngraph/statuses/8c56e5a10b1e19cce38c5b525d4cceca6e804772","head":{"label":"NervanaSystems:nishant_quantization_PR","ref":"nishant_quantization_PR","sha":"8c56e5a10b1e19cce38c5b525d4cceca6e804772","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":98252973,"node_id":"MDEwOlJlcG9zaXRvcnk5ODI1Mjk3Mw==","name":"ngraph","full_name":"NervanaSystems/ngraph","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},"private":false,"html_url":"https://github.com/NervanaSystems/ngraph","description":"nGraph is an open source C++ library, compiler and runtime for Deep Learning frameworks","fork":false,"url":"https://api.github.com/repos/NervanaSystems/ngraph","forks_url":"https://api.github.com/repos/NervanaSystems/ngraph/forks","keys_url":"https://api.github.com/repos/NervanaSystems/ngraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NervanaSystems/ngraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NervanaSystems/ngraph/teams","hooks_url":"https://api.github.com/repos/NervanaSystems/ngraph/hooks","issue_events_url":"https://api.github.com/repos/NervanaSystems/ngraph/issues/events{/number}","events_url":"https://api.github.com/repos/NervanaSystems/ngraph/events","assignees_url":"https://api.github.com/repos/NervanaSystems/ngraph/assignees{/user}","branches_url":"https://api.github.com/repos/NervanaSystems/ngraph/branches{/branch}","tags_url":"https://api.github.com/repos/NervanaSystems/ngraph/tags","blobs_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NervanaSystems/ngraph/statuses/{sha}","languages_url":"https://api.github.com/repos/NervanaSystems/ngraph/languages","stargazers_url":"https://api.github.com/repos/NervanaSystems/ngraph/stargazers","contributors_url":"https://api.github.com/repos/NervanaSystems/ngraph/contributors","subscribers_url":"https://api.github.com/repos/NervanaSystems/ngraph/subscribers","subscription_url":"https://api.github.com/repos/NervanaSystems/ngraph/subscription","commits_url":"https://api.github.com/repos/NervanaSystems/ngraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/NervanaSystems/ngraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/NervanaSystems/ngraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/NervanaSystems/ngraph/contents/{+path}","compare_url":"https://api.github.com/repos/NervanaSystems/ngraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NervanaSystems/ngraph/merges","archive_url":"https://api.github.com/repos/NervanaSystems/ngraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NervanaSystems/ngraph/downloads","issues_url":"https://api.github.com/repos/NervanaSystems/ngraph/issues{/number}","pulls_url":"https://api.github.com/repos/NervanaSystems/ngraph/pulls{/number}","milestones_url":"https://api.github.com/repos/NervanaSystems/ngraph/milestones{/number}","notifications_url":"https://api.github.com/repos/NervanaSystems/ngraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NervanaSystems/ngraph/labels{/name}","releases_url":"https://api.github.com/repos/NervanaSystems/ngraph/releases{/id}","deployments_url":"https://api.github.com/repos/NervanaSystems/ngraph/deployments","created_at":"2017-07-25T02:02:38Z","updated_at":"2018-09-11T20:42:04Z","pushed_at":"2018-09-11T21:08:04Z","git_url":"git://github.com/NervanaSystems/ngraph.git","ssh_url":"git@github.com:NervanaSystems/ngraph.git","clone_url":"https://github.com/NervanaSystems/ngraph.git","svn_url":"https://github.com/NervanaSystems/ngraph","homepage":"http://ngraph.nervanasys.com/docs/latest","size":35514,"stargazers_count":587,"watchers_count":587,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":74,"mirror_url":null,"archived":false,"open_issues_count":53,"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":74,"open_issues":53,"watchers":587,"default_branch":"master"}},"base":{"label":"NervanaSystems:master","ref":"master","sha":"3609cc742626afedb0bc43b02561a9c0409cd27b","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":98252973,"node_id":"MDEwOlJlcG9zaXRvcnk5ODI1Mjk3Mw==","name":"ngraph","full_name":"NervanaSystems/ngraph","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},"private":false,"html_url":"https://github.com/NervanaSystems/ngraph","description":"nGraph is an open source C++ library, compiler and runtime for Deep Learning frameworks","fork":false,"url":"https://api.github.com/repos/NervanaSystems/ngraph","forks_url":"https://api.github.com/repos/NervanaSystems/ngraph/forks","keys_url":"https://api.github.com/repos/NervanaSystems/ngraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NervanaSystems/ngraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NervanaSystems/ngraph/teams","hooks_url":"https://api.github.com/repos/NervanaSystems/ngraph/hooks","issue_events_url":"https://api.github.com/repos/NervanaSystems/ngraph/issues/events{/number}","events_url":"https://api.github.com/repos/NervanaSystems/ngraph/events","assignees_url":"https://api.github.com/repos/NervanaSystems/ngraph/assignees{/user}","branches_url":"https://api.github.com/repos/NervanaSystems/ngraph/branches{/branch}","tags_url":"https://api.github.com/repos/NervanaSystems/ngraph/tags","blobs_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NervanaSystems/ngraph/statuses/{sha}","languages_url":"https://api.github.com/repos/NervanaSystems/ngraph/languages","stargazers_url":"https://api.github.com/repos/NervanaSystems/ngraph/stargazers","contributors_url":"https://api.github.com/repos/NervanaSystems/ngraph/contributors","subscribers_url":"https://api.github.com/repos/NervanaSystems/ngraph/subscribers","subscription_url":"https://api.github.com/repos/NervanaSystems/ngraph/subscription","commits_url":"https://api.github.com/repos/NervanaSystems/ngraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/NervanaSystems/ngraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/NervanaSystems/ngraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/NervanaSystems/ngraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/NervanaSystems/ngraph/contents/{+path}","compare_url":"https://api.github.com/repos/NervanaSystems/ngraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NervanaSystems/ngraph/merges","archive_url":"https://api.github.com/repos/NervanaSystems/ngraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NervanaSystems/ngraph/downloads","issues_url":"https://api.github.com/repos/NervanaSystems/ngraph/issues{/number}","pulls_url":"https://api.github.com/repos/NervanaSystems/ngraph/pulls{/number}","milestones_url":"https://api.github.com/repos/NervanaSystems/ngraph/milestones{/number}","notifications_url":"https://api.github.com/repos/NervanaSystems/ngraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NervanaSystems/ngraph/labels{/name}","releases_url":"https://api.github.com/repos/NervanaSystems/ngraph/releases{/id}","deployments_url":"https://api.github.com/repos/NervanaSystems/ngraph/deployments","created_at":"2017-07-25T02:02:38Z","updated_at":"2018-09-11T20:42:04Z","pushed_at":"2018-09-11T21:08:04Z","git_url":"git://github.com/NervanaSystems/ngraph.git","ssh_url":"git@github.com:NervanaSystems/ngraph.git","clone_url":"https://github.com/NervanaSystems/ngraph.git","svn_url":"https://github.com/NervanaSystems/ngraph","homepage":"http://ngraph.nervanasys.com/docs/latest","size":35514,"stargazers_count":587,"watchers_count":587,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":74,"mirror_url":null,"archived":false,"open_issues_count":53,"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":74,"open_issues":53,"watchers":587,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/1576"},"html":{"href":"https://github.com/NervanaSystems/ngraph/pull/1576"},"issue":{"href":"https://api.github.com/repos/NervanaSystems/ngraph/issues/1576"},"comments":{"href":"https://api.github.com/repos/NervanaSystems/ngraph/issues/1576/comments"},"review_comments":{"href":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/1576/comments"},"review_comment":{"href":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NervanaSystems/ngraph/pulls/1576/commits"},"statuses":{"href":"https://api.github.com/repos/NervanaSystems/ngraph/statuses/8c56e5a10b1e19cce38c5b525d4cceca6e804772"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jbobba"}}