{"action":"created","comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/124186149","pull_request_review_id":46452163,"id":124186149,"diff_hunk":"@@ -0,0 +1,43 @@\n+# =============================================================================\n+# Copyright 2016 The TensorFlow Authors. All Rights Reserved.\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+import numpy as np\n+import tensorflow as tf\n+from tensorflow.contrib.periodic_intersperse import periodic_intersperse as pi\n+\n+\n+class PeriodicIntersperseTest(tf.test.TestCase):\n+    def testPeriodicIntersperse(self):\n+\n+        # basic 2-D tensor","path":"tensorflow/contrib/periodic_intersperse/python/kernel_tests/periodic_intersperse_op_test.py","position":null,"original_position":25,"commit_id":"0581dd1dfa7c644b148649c44c49888b31cc2689","original_commit_id":"c7fb95564cc64ee1e24b5eec70872a79041cc5a5","user":{"login":"jhetherly","id":5003889,"avatar_url":"https://avatars2.githubusercontent.com/u/5003889?v=3","gravatar_id":"","url":"https://api.github.com/users/jhetherly","html_url":"https://github.com/jhetherly","followers_url":"https://api.github.com/users/jhetherly/followers","following_url":"https://api.github.com/users/jhetherly/following{/other_user}","gists_url":"https://api.github.com/users/jhetherly/gists{/gist_id}","starred_url":"https://api.github.com/users/jhetherly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhetherly/subscriptions","organizations_url":"https://api.github.com/users/jhetherly/orgs","repos_url":"https://api.github.com/users/jhetherly/repos","events_url":"https://api.github.com/users/jhetherly/events{/privacy}","received_events_url":"https://api.github.com/users/jhetherly/received_events","type":"User","site_admin":false},"body":"the two tested that are already there effectively test the 1D case. I will write much more detailed tests for 2D and 3D cases tomorrow.","created_at":"2017-06-27T06:21:37Z","updated_at":"2017-06-27T06:21:37Z","html_url":"https://github.com/tensorflow/tensorflow/pull/9376#discussion_r124186149","pull_request_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/9376","_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/124186149"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/9376#discussion_r124186149"},"pull_request":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/9376"}}},"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/9376","id":117092352,"html_url":"https://github.com/tensorflow/tensorflow/pull/9376","diff_url":"https://github.com/tensorflow/tensorflow/pull/9376.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/9376.patch","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9376","number":9376,"state":"open","locked":false,"title":"Shuffle Op: Fixes #9369","user":{"login":"jhetherly","id":5003889,"avatar_url":"https://avatars2.githubusercontent.com/u/5003889?v=3","gravatar_id":"","url":"https://api.github.com/users/jhetherly","html_url":"https://github.com/jhetherly","followers_url":"https://api.github.com/users/jhetherly/followers","following_url":"https://api.github.com/users/jhetherly/following{/other_user}","gists_url":"https://api.github.com/users/jhetherly/gists{/gist_id}","starred_url":"https://api.github.com/users/jhetherly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhetherly/subscriptions","organizations_url":"https://api.github.com/users/jhetherly/orgs","repos_url":"https://api.github.com/users/jhetherly/repos","events_url":"https://api.github.com/users/jhetherly/events{/privacy}","received_events_url":"https://api.github.com/users/jhetherly/received_events","type":"User","site_admin":false},"body":"This implements sub-pixel shuffling in the module `contrib`. https://github.com/tensorflow/tensorflow/issues/9369","created_at":"2017-04-22T02:28:20Z","updated_at":"2017-06-27T06:21:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7fe19b049d7a4e133fe95bd8e6da40c128cb07fa","assignee":{"login":"rmlarsen","id":16907534,"avatar_url":"https://avatars1.githubusercontent.com/u/16907534?v=3","gravatar_id":"","url":"https://api.github.com/users/rmlarsen","html_url":"https://github.com/rmlarsen","followers_url":"https://api.github.com/users/rmlarsen/followers","following_url":"https://api.github.com/users/rmlarsen/following{/other_user}","gists_url":"https://api.github.com/users/rmlarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/rmlarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmlarsen/subscriptions","organizations_url":"https://api.github.com/users/rmlarsen/orgs","repos_url":"https://api.github.com/users/rmlarsen/repos","events_url":"https://api.github.com/users/rmlarsen/events{/privacy}","received_events_url":"https://api.github.com/users/rmlarsen/received_events","type":"User","site_admin":false},"assignees":[{"login":"rmlarsen","id":16907534,"avatar_url":"https://avatars1.githubusercontent.com/u/16907534?v=3","gravatar_id":"","url":"https://api.github.com/users/rmlarsen","html_url":"https://github.com/rmlarsen","followers_url":"https://api.github.com/users/rmlarsen/followers","following_url":"https://api.github.com/users/rmlarsen/following{/other_user}","gists_url":"https://api.github.com/users/rmlarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/rmlarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmlarsen/subscriptions","organizations_url":"https://api.github.com/users/rmlarsen/orgs","repos_url":"https://api.github.com/users/rmlarsen/repos","events_url":"https://api.github.com/users/rmlarsen/events{/privacy}","received_events_url":"https://api.github.com/users/rmlarsen/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/9376/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/9376/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/9376/comments","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/0581dd1dfa7c644b148649c44c49888b31cc2689","head":{"label":"jhetherly:shuffle_op","ref":"shuffle_op","sha":"0581dd1dfa7c644b148649c44c49888b31cc2689","user":{"login":"jhetherly","id":5003889,"avatar_url":"https://avatars2.githubusercontent.com/u/5003889?v=3","gravatar_id":"","url":"https://api.github.com/users/jhetherly","html_url":"https://github.com/jhetherly","followers_url":"https://api.github.com/users/jhetherly/followers","following_url":"https://api.github.com/users/jhetherly/following{/other_user}","gists_url":"https://api.github.com/users/jhetherly/gists{/gist_id}","starred_url":"https://api.github.com/users/jhetherly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhetherly/subscriptions","organizations_url":"https://api.github.com/users/jhetherly/orgs","repos_url":"https://api.github.com/users/jhetherly/repos","events_url":"https://api.github.com/users/jhetherly/events{/privacy}","received_events_url":"https://api.github.com/users/jhetherly/received_events","type":"User","site_admin":false},"repo":{"id":88232961,"name":"tensorflow","full_name":"jhetherly/tensorflow","owner":{"login":"jhetherly","id":5003889,"avatar_url":"https://avatars2.githubusercontent.com/u/5003889?v=3","gravatar_id":"","url":"https://api.github.com/users/jhetherly","html_url":"https://github.com/jhetherly","followers_url":"https://api.github.com/users/jhetherly/followers","following_url":"https://api.github.com/users/jhetherly/following{/other_user}","gists_url":"https://api.github.com/users/jhetherly/gists{/gist_id}","starred_url":"https://api.github.com/users/jhetherly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhetherly/subscriptions","organizations_url":"https://api.github.com/users/jhetherly/orgs","repos_url":"https://api.github.com/users/jhetherly/repos","events_url":"https://api.github.com/users/jhetherly/events{/privacy}","received_events_url":"https://api.github.com/users/jhetherly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhetherly/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":true,"url":"https://api.github.com/repos/jhetherly/tensorflow","forks_url":"https://api.github.com/repos/jhetherly/tensorflow/forks","keys_url":"https://api.github.com/repos/jhetherly/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhetherly/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhetherly/tensorflow/teams","hooks_url":"https://api.github.com/repos/jhetherly/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/jhetherly/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/jhetherly/tensorflow/events","assignees_url":"https://api.github.com/repos/jhetherly/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/jhetherly/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/jhetherly/tensorflow/tags","blobs_url":"https://api.github.com/repos/jhetherly/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhetherly/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhetherly/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhetherly/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhetherly/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/jhetherly/tensorflow/languages","stargazers_url":"https://api.github.com/repos/jhetherly/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/jhetherly/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/jhetherly/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/jhetherly/tensorflow/subscription","commits_url":"https://api.github.com/repos/jhetherly/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhetherly/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhetherly/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhetherly/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhetherly/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/jhetherly/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhetherly/tensorflow/merges","archive_url":"https://api.github.com/repos/jhetherly/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhetherly/tensorflow/downloads","issues_url":"https://api.github.com/repos/jhetherly/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/jhetherly/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/jhetherly/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/jhetherly/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhetherly/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/jhetherly/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/jhetherly/tensorflow/deployments","created_at":"2017-04-14T04:30:41Z","updated_at":"2017-04-14T04:31:04Z","pushed_at":"2017-06-27T06:06:55Z","git_url":"git://github.com/jhetherly/tensorflow.git","ssh_url":"git@github.com:jhetherly/tensorflow.git","clone_url":"https://github.com/jhetherly/tensorflow.git","svn_url":"https://github.com/jhetherly/tensorflow","homepage":"http://tensorflow.org","size":110919,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tensorflow:master","ref":"master","sha":"2336cdf7f00434c24f1eb394f255d7de071bdc08","user":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars2.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":45717250,"name":"tensorflow","full_name":"tensorflow/tensorflow","owner":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars2.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":false,"url":"https://api.github.com/repos/tensorflow/tensorflow","forks_url":"https://api.github.com/repos/tensorflow/tensorflow/forks","keys_url":"https://api.github.com/repos/tensorflow/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/tensorflow/teams","hooks_url":"https://api.github.com/repos/tensorflow/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/tensorflow/events","assignees_url":"https://api.github.com/repos/tensorflow/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/tensorflow/tags","blobs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/tensorflow/languages","stargazers_url":"https://api.github.com/repos/tensorflow/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/tensorflow/subscription","commits_url":"https://api.github.com/repos/tensorflow/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/tensorflow/merges","archive_url":"https://api.github.com/repos/tensorflow/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/tensorflow/downloads","issues_url":"https://api.github.com/repos/tensorflow/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/tensorflow/deployments","created_at":"2015-11-07T01:19:20Z","updated_at":"2017-06-27T06:14:00Z","pushed_at":"2017-06-27T06:14:26Z","git_url":"git://github.com/tensorflow/tensorflow.git","ssh_url":"git@github.com:tensorflow/tensorflow.git","clone_url":"https://github.com/tensorflow/tensorflow.git","svn_url":"https://github.com/tensorflow/tensorflow","homepage":"http://tensorflow.org","size":110979,"stargazers_count":61807,"watchers_count":61807,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":29805,"mirror_url":null,"open_issues_count":764,"forks":29805,"open_issues":764,"watchers":61807,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/9376"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/9376"},"issue":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/9376"},"comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/9376/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/9376/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/9376/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tensorflow/statuses/0581dd1dfa7c644b148649c44c49888b31cc2689"}}}}
{"actor":{"display_login":"jhetherly"}}