{"action":"created","comment":{"url":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/comments/200884511","pull_request_review_id":135280288,"id":200884511,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDg4NDUxMQ==","diff_hunk":"@@ -0,0 +1,53 @@\n+/*\n+ * Copyright 2018 Analytics Zoo Authors.\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+\n+package com.intel.analytics.zoo.pipeline.api.keras2.layers\n+\n+\n+import com.intel.analytics.bigdl.tensor.TensorNumericMath.TensorNumeric\n+import com.intel.analytics.bigdl.utils.Shape\n+import com.intel.analytics.zoo.pipeline.api.Net\n+import com.intel.analytics.zoo.pipeline.api.keras2.layers.utils.KerasUtils\n+import com.intel.analytics.zoo.pipeline.api.keras.{layers => klayers1}\n+import scala.reflect.ClassTag\n+\n+/**\n+ * Applies global average pooling operation for 3D data.\n+ * Data format currently supported for this layer is 'CHANNELS_FIRST' .\n+ * Border mode currently supported for this layer is 'valid'.","path":"zoo/src/main/scala/com/intel/analytics/zoo/pipeline/api/keras2/layers/GlobalAveragePooling3D.scala","position":30,"original_position":30,"commit_id":"ef4a335d487e1880606325f2da0615af22fc8bd9","original_commit_id":"ef4a335d487e1880606325f2da0615af22fc8bd9","user":{"login":"hkvision","id":21994046,"node_id":"MDQ6VXNlcjIxOTk0MDQ2","avatar_url":"https://avatars2.githubusercontent.com/u/21994046?v=4","gravatar_id":"","url":"https://api.github.com/users/hkvision","html_url":"https://github.com/hkvision","followers_url":"https://api.github.com/users/hkvision/followers","following_url":"https://api.github.com/users/hkvision/following{/other_user}","gists_url":"https://api.github.com/users/hkvision/gists{/gist_id}","starred_url":"https://api.github.com/users/hkvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkvision/subscriptions","organizations_url":"https://api.github.com/users/hkvision/orgs","repos_url":"https://api.github.com/users/hkvision/repos","events_url":"https://api.github.com/users/hkvision/events{/privacy}","received_events_url":"https://api.github.com/users/hkvision/received_events","type":"User","site_admin":false},"body":"remove??","created_at":"2018-07-09T05:35:32Z","updated_at":"2018-07-09T05:35:32Z","html_url":"https://github.com/intel-analytics/analytics-zoo/pull/482#discussion_r200884511","pull_request_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/482","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/comments/200884511"},"html":{"href":"https://github.com/intel-analytics/analytics-zoo/pull/482#discussion_r200884511"},"pull_request":{"href":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/482"}}},"pull_request":{"url":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/482","id":199982992,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTgyOTky","html_url":"https://github.com/intel-analytics/analytics-zoo/pull/482","diff_url":"https://github.com/intel-analytics/analytics-zoo/pull/482.diff","patch_url":"https://github.com/intel-analytics/analytics-zoo/pull/482.patch","issue_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/issues/482","number":482,"state":"open","locked":false,"title":"add  keras2 GlobalMaxPooling2D/3D&GlobalAveragePooling3D layers and test","user":{"login":"yjjiang11","id":34344716,"node_id":"MDQ6VXNlcjM0MzQ0NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/34344716?v=4","gravatar_id":"","url":"https://api.github.com/users/yjjiang11","html_url":"https://github.com/yjjiang11","followers_url":"https://api.github.com/users/yjjiang11/followers","following_url":"https://api.github.com/users/yjjiang11/following{/other_user}","gists_url":"https://api.github.com/users/yjjiang11/gists{/gist_id}","starred_url":"https://api.github.com/users/yjjiang11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjjiang11/subscriptions","organizations_url":"https://api.github.com/users/yjjiang11/orgs","repos_url":"https://api.github.com/users/yjjiang11/repos","events_url":"https://api.github.com/users/yjjiang11/events{/privacy}","received_events_url":"https://api.github.com/users/yjjiang11/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-09T03:23:42Z","updated_at":"2018-07-09T05:35:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"18f29074e3529fb7f1b3a3aa4e8d387ef0cbc425","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/482/commits","review_comments_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/482/comments","review_comment_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/issues/482/comments","statuses_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/statuses/ef4a335d487e1880606325f2da0615af22fc8bd9","head":{"label":"yjjiang11:yj6","ref":"yj6","sha":"ef4a335d487e1880606325f2da0615af22fc8bd9","user":{"login":"yjjiang11","id":34344716,"node_id":"MDQ6VXNlcjM0MzQ0NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/34344716?v=4","gravatar_id":"","url":"https://api.github.com/users/yjjiang11","html_url":"https://github.com/yjjiang11","followers_url":"https://api.github.com/users/yjjiang11/followers","following_url":"https://api.github.com/users/yjjiang11/following{/other_user}","gists_url":"https://api.github.com/users/yjjiang11/gists{/gist_id}","starred_url":"https://api.github.com/users/yjjiang11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjjiang11/subscriptions","organizations_url":"https://api.github.com/users/yjjiang11/orgs","repos_url":"https://api.github.com/users/yjjiang11/repos","events_url":"https://api.github.com/users/yjjiang11/events{/privacy}","received_events_url":"https://api.github.com/users/yjjiang11/received_events","type":"User","site_admin":false},"repo":{"id":137330254,"node_id":"MDEwOlJlcG9zaXRvcnkxMzczMzAyNTQ=","name":"analytics-zoo","full_name":"yjjiang11/analytics-zoo","owner":{"login":"yjjiang11","id":34344716,"node_id":"MDQ6VXNlcjM0MzQ0NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/34344716?v=4","gravatar_id":"","url":"https://api.github.com/users/yjjiang11","html_url":"https://github.com/yjjiang11","followers_url":"https://api.github.com/users/yjjiang11/followers","following_url":"https://api.github.com/users/yjjiang11/following{/other_user}","gists_url":"https://api.github.com/users/yjjiang11/gists{/gist_id}","starred_url":"https://api.github.com/users/yjjiang11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yjjiang11/subscriptions","organizations_url":"https://api.github.com/users/yjjiang11/orgs","repos_url":"https://api.github.com/users/yjjiang11/repos","events_url":"https://api.github.com/users/yjjiang11/events{/privacy}","received_events_url":"https://api.github.com/users/yjjiang11/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yjjiang11/analytics-zoo","description":"Analytics + AI Platform for Apache Spark and BigDL","fork":true,"url":"https://api.github.com/repos/yjjiang11/analytics-zoo","forks_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/forks","keys_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/teams","hooks_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/hooks","issue_events_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/issues/events{/number}","events_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/events","assignees_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/assignees{/user}","branches_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/branches{/branch}","tags_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/tags","blobs_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/statuses/{sha}","languages_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/languages","stargazers_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/stargazers","contributors_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/contributors","subscribers_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/subscribers","subscription_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/subscription","commits_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/contents/{+path}","compare_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/merges","archive_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/downloads","issues_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/issues{/number}","pulls_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/pulls{/number}","milestones_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/milestones{/number}","notifications_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/labels{/name}","releases_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/releases{/id}","deployments_url":"https://api.github.com/repos/yjjiang11/analytics-zoo/deployments","created_at":"2018-06-14T08:37:11Z","updated_at":"2018-06-14T08:37:15Z","pushed_at":"2018-07-09T04:51:29Z","git_url":"git://github.com/yjjiang11/analytics-zoo.git","ssh_url":"git@github.com:yjjiang11/analytics-zoo.git","clone_url":"https://github.com/yjjiang11/analytics-zoo.git","svn_url":"https://github.com/yjjiang11/analytics-zoo","homepage":"https://analytics-zoo.github.io","size":108828,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","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":"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":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"intel-analytics:master","ref":"master","sha":"6856abb6b1f54e8f14d7583f97d0ff2d6e72763e","user":{"login":"intel-analytics","id":10941215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTQxMjE1","avatar_url":"https://avatars3.githubusercontent.com/u/10941215?v=4","gravatar_id":"","url":"https://api.github.com/users/intel-analytics","html_url":"https://github.com/intel-analytics","followers_url":"https://api.github.com/users/intel-analytics/followers","following_url":"https://api.github.com/users/intel-analytics/following{/other_user}","gists_url":"https://api.github.com/users/intel-analytics/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-analytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-analytics/subscriptions","organizations_url":"https://api.github.com/users/intel-analytics/orgs","repos_url":"https://api.github.com/users/intel-analytics/repos","events_url":"https://api.github.com/users/intel-analytics/events{/privacy}","received_events_url":"https://api.github.com/users/intel-analytics/received_events","type":"Organization","site_admin":false},"repo":{"id":90328920,"node_id":"MDEwOlJlcG9zaXRvcnk5MDMyODkyMA==","name":"analytics-zoo","full_name":"intel-analytics/analytics-zoo","owner":{"login":"intel-analytics","id":10941215,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwOTQxMjE1","avatar_url":"https://avatars3.githubusercontent.com/u/10941215?v=4","gravatar_id":"","url":"https://api.github.com/users/intel-analytics","html_url":"https://github.com/intel-analytics","followers_url":"https://api.github.com/users/intel-analytics/followers","following_url":"https://api.github.com/users/intel-analytics/following{/other_user}","gists_url":"https://api.github.com/users/intel-analytics/gists{/gist_id}","starred_url":"https://api.github.com/users/intel-analytics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel-analytics/subscriptions","organizations_url":"https://api.github.com/users/intel-analytics/orgs","repos_url":"https://api.github.com/users/intel-analytics/repos","events_url":"https://api.github.com/users/intel-analytics/events{/privacy}","received_events_url":"https://api.github.com/users/intel-analytics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intel-analytics/analytics-zoo","description":"Analytics + AI Platform for Apache Spark and BigDL","fork":false,"url":"https://api.github.com/repos/intel-analytics/analytics-zoo","forks_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/forks","keys_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/teams","hooks_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/hooks","issue_events_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/issues/events{/number}","events_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/events","assignees_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/assignees{/user}","branches_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/branches{/branch}","tags_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/tags","blobs_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/statuses/{sha}","languages_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/languages","stargazers_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/stargazers","contributors_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/contributors","subscribers_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/subscribers","subscription_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/subscription","commits_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/contents/{+path}","compare_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/merges","archive_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/downloads","issues_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/issues{/number}","pulls_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls{/number}","milestones_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/milestones{/number}","notifications_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/labels{/name}","releases_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/releases{/id}","deployments_url":"https://api.github.com/repos/intel-analytics/analytics-zoo/deployments","created_at":"2017-05-05T02:27:30Z","updated_at":"2018-07-09T04:31:07Z","pushed_at":"2018-07-09T04:59:35Z","git_url":"git://github.com/intel-analytics/analytics-zoo.git","ssh_url":"git@github.com:intel-analytics/analytics-zoo.git","clone_url":"https://github.com/intel-analytics/analytics-zoo.git","svn_url":"https://github.com/intel-analytics/analytics-zoo","homepage":"https://analytics-zoo.github.io","size":108787,"stargazers_count":65,"watchers_count":65,"language":"Jupyter Notebook","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":60,"mirror_url":null,"archived":false,"open_issues_count":45,"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":60,"open_issues":45,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/482"},"html":{"href":"https://github.com/intel-analytics/analytics-zoo/pull/482"},"issue":{"href":"https://api.github.com/repos/intel-analytics/analytics-zoo/issues/482"},"comments":{"href":"https://api.github.com/repos/intel-analytics/analytics-zoo/issues/482/comments"},"review_comments":{"href":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/482/comments"},"review_comment":{"href":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intel-analytics/analytics-zoo/pulls/482/commits"},"statuses":{"href":"https://api.github.com/repos/intel-analytics/analytics-zoo/statuses/ef4a335d487e1880606325f2da0615af22fc8bd9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hkvision"}}