{"action":"created","comment":{"url":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/comments/60836482","id":60836482,"diff_hunk":"@@ -94,3 +95,20 @@ def test_batch_norm_3d():\n     x = tf.placeholder(tf.float32, input_shape)\n     with pytest.raises(ValueError):\n         y = layers.batch_norm(x, '4d')\n+\n+\n+def test_resize_image_like():\n+    batch = 1\n+    width_height = 5\n+    width_height2 = 15\n+    channel = 3\n+    x = tf.placeholder(tf.float32, [batch, width_height, width_height, channel])\n+    s = tf.placeholder(tf.float32, [batch, width_height2, width_height2, channel])\n+    x_rshape = images.resize_images_like(x, s)","path":"tests/test_tftools.py","position":21,"original_position":21,"commit_id":"426f797cf7139f374b7ba05afc7feb2154e20d43","original_commit_id":"426f797cf7139f374b7ba05afc7feb2154e20d43","user":{"login":"jrock08","id":139858,"avatar_url":"https://avatars.githubusercontent.com/u/139858?v=3","gravatar_id":"","url":"https://api.github.com/users/jrock08","html_url":"https://github.com/jrock08","followers_url":"https://api.github.com/users/jrock08/followers","following_url":"https://api.github.com/users/jrock08/following{/other_user}","gists_url":"https://api.github.com/users/jrock08/gists{/gist_id}","starred_url":"https://api.github.com/users/jrock08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrock08/subscriptions","organizations_url":"https://api.github.com/users/jrock08/orgs","repos_url":"https://api.github.com/users/jrock08/repos","events_url":"https://api.github.com/users/jrock08/events{/privacy}","received_events_url":"https://api.github.com/users/jrock08/received_events","type":"User","site_admin":false},"body":"In my opinion, test code should have names like this.  x and s are just simple variable placeholders that don't actually mean anything.  You are right that x_rshape should probably be x_resize","created_at":"2016-04-23T23:11:20Z","updated_at":"2016-04-23T23:11:20Z","html_url":"https://github.com/aiUIUC/pyAIUtils/pull/16#discussion_r60836482","pull_request_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/comments/60836482"},"html":{"href":"https://github.com/aiUIUC/pyAIUtils/pull/16#discussion_r60836482"},"pull_request":{"href":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/16","id":67594736,"html_url":"https://github.com/aiUIUC/pyAIUtils/pull/16","diff_url":"https://github.com/aiUIUC/pyAIUtils/pull/16.diff","patch_url":"https://github.com/aiUIUC/pyAIUtils/pull/16.patch","issue_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/issues/16","number":16,"state":"open","locked":false,"title":"Add resize_images_like to make image feature concatenation easier","user":{"login":"jrock08","id":139858,"avatar_url":"https://avatars.githubusercontent.com/u/139858?v=3","gravatar_id":"","url":"https://api.github.com/users/jrock08","html_url":"https://github.com/jrock08","followers_url":"https://api.github.com/users/jrock08/followers","following_url":"https://api.github.com/users/jrock08/following{/other_user}","gists_url":"https://api.github.com/users/jrock08/gists{/gist_id}","starred_url":"https://api.github.com/users/jrock08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrock08/subscriptions","organizations_url":"https://api.github.com/users/jrock08/orgs","repos_url":"https://api.github.com/users/jrock08/repos","events_url":"https://api.github.com/users/jrock08/events{/privacy}","received_events_url":"https://api.github.com/users/jrock08/received_events","type":"User","site_admin":false},"body":"@BigRedT :)","created_at":"2016-04-23T03:23:11Z","updated_at":"2016-04-23T23:11:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9b6d1c824dec5f41ae7cb62ab33990910fc1110","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/16/commits","review_comments_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/16/comments","review_comment_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/issues/16/comments","statuses_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/statuses/426f797cf7139f374b7ba05afc7feb2154e20d43","head":{"label":"jrock08:resize_image","ref":"resize_image","sha":"426f797cf7139f374b7ba05afc7feb2154e20d43","user":{"login":"jrock08","id":139858,"avatar_url":"https://avatars.githubusercontent.com/u/139858?v=3","gravatar_id":"","url":"https://api.github.com/users/jrock08","html_url":"https://github.com/jrock08","followers_url":"https://api.github.com/users/jrock08/followers","following_url":"https://api.github.com/users/jrock08/following{/other_user}","gists_url":"https://api.github.com/users/jrock08/gists{/gist_id}","starred_url":"https://api.github.com/users/jrock08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrock08/subscriptions","organizations_url":"https://api.github.com/users/jrock08/orgs","repos_url":"https://api.github.com/users/jrock08/repos","events_url":"https://api.github.com/users/jrock08/events{/privacy}","received_events_url":"https://api.github.com/users/jrock08/received_events","type":"User","site_admin":false},"repo":{"id":56734838,"name":"pyAIUtils","full_name":"jrock08/pyAIUtils","owner":{"login":"jrock08","id":139858,"avatar_url":"https://avatars.githubusercontent.com/u/139858?v=3","gravatar_id":"","url":"https://api.github.com/users/jrock08","html_url":"https://github.com/jrock08","followers_url":"https://api.github.com/users/jrock08/followers","following_url":"https://api.github.com/users/jrock08/following{/other_user}","gists_url":"https://api.github.com/users/jrock08/gists{/gist_id}","starred_url":"https://api.github.com/users/jrock08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrock08/subscriptions","organizations_url":"https://api.github.com/users/jrock08/orgs","repos_url":"https://api.github.com/users/jrock08/repos","events_url":"https://api.github.com/users/jrock08/events{/privacy}","received_events_url":"https://api.github.com/users/jrock08/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jrock08/pyAIUtils","description":"Utility functions and classes for building Artificial Intelligence systems in Python","fork":true,"url":"https://api.github.com/repos/jrock08/pyAIUtils","forks_url":"https://api.github.com/repos/jrock08/pyAIUtils/forks","keys_url":"https://api.github.com/repos/jrock08/pyAIUtils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jrock08/pyAIUtils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jrock08/pyAIUtils/teams","hooks_url":"https://api.github.com/repos/jrock08/pyAIUtils/hooks","issue_events_url":"https://api.github.com/repos/jrock08/pyAIUtils/issues/events{/number}","events_url":"https://api.github.com/repos/jrock08/pyAIUtils/events","assignees_url":"https://api.github.com/repos/jrock08/pyAIUtils/assignees{/user}","branches_url":"https://api.github.com/repos/jrock08/pyAIUtils/branches{/branch}","tags_url":"https://api.github.com/repos/jrock08/pyAIUtils/tags","blobs_url":"https://api.github.com/repos/jrock08/pyAIUtils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jrock08/pyAIUtils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jrock08/pyAIUtils/git/refs{/sha}","trees_url":"https://api.github.com/repos/jrock08/pyAIUtils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jrock08/pyAIUtils/statuses/{sha}","languages_url":"https://api.github.com/repos/jrock08/pyAIUtils/languages","stargazers_url":"https://api.github.com/repos/jrock08/pyAIUtils/stargazers","contributors_url":"https://api.github.com/repos/jrock08/pyAIUtils/contributors","subscribers_url":"https://api.github.com/repos/jrock08/pyAIUtils/subscribers","subscription_url":"https://api.github.com/repos/jrock08/pyAIUtils/subscription","commits_url":"https://api.github.com/repos/jrock08/pyAIUtils/commits{/sha}","git_commits_url":"https://api.github.com/repos/jrock08/pyAIUtils/git/commits{/sha}","comments_url":"https://api.github.com/repos/jrock08/pyAIUtils/comments{/number}","issue_comment_url":"https://api.github.com/repos/jrock08/pyAIUtils/issues/comments{/number}","contents_url":"https://api.github.com/repos/jrock08/pyAIUtils/contents/{+path}","compare_url":"https://api.github.com/repos/jrock08/pyAIUtils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jrock08/pyAIUtils/merges","archive_url":"https://api.github.com/repos/jrock08/pyAIUtils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jrock08/pyAIUtils/downloads","issues_url":"https://api.github.com/repos/jrock08/pyAIUtils/issues{/number}","pulls_url":"https://api.github.com/repos/jrock08/pyAIUtils/pulls{/number}","milestones_url":"https://api.github.com/repos/jrock08/pyAIUtils/milestones{/number}","notifications_url":"https://api.github.com/repos/jrock08/pyAIUtils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jrock08/pyAIUtils/labels{/name}","releases_url":"https://api.github.com/repos/jrock08/pyAIUtils/releases{/id}","deployments_url":"https://api.github.com/repos/jrock08/pyAIUtils/deployments","created_at":"2016-04-21T02:04:35Z","updated_at":"2016-04-21T02:04:36Z","pushed_at":"2016-04-23T03:19:59Z","git_url":"git://github.com/jrock08/pyAIUtils.git","ssh_url":"git@github.com:jrock08/pyAIUtils.git","clone_url":"https://github.com/jrock08/pyAIUtils.git","svn_url":"https://github.com/jrock08/pyAIUtils","homepage":null,"size":35,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"aiUIUC:master","ref":"master","sha":"d62217fa3baa9447982b4fb9f2b46cec09817004","user":{"login":"aiUIUC","id":18604365,"avatar_url":"https://avatars.githubusercontent.com/u/18604365?v=3","gravatar_id":"","url":"https://api.github.com/users/aiUIUC","html_url":"https://github.com/aiUIUC","followers_url":"https://api.github.com/users/aiUIUC/followers","following_url":"https://api.github.com/users/aiUIUC/following{/other_user}","gists_url":"https://api.github.com/users/aiUIUC/gists{/gist_id}","starred_url":"https://api.github.com/users/aiUIUC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aiUIUC/subscriptions","organizations_url":"https://api.github.com/users/aiUIUC/orgs","repos_url":"https://api.github.com/users/aiUIUC/repos","events_url":"https://api.github.com/users/aiUIUC/events{/privacy}","received_events_url":"https://api.github.com/users/aiUIUC/received_events","type":"Organization","site_admin":false},"repo":{"id":56552838,"name":"pyAIUtils","full_name":"aiUIUC/pyAIUtils","owner":{"login":"aiUIUC","id":18604365,"avatar_url":"https://avatars.githubusercontent.com/u/18604365?v=3","gravatar_id":"","url":"https://api.github.com/users/aiUIUC","html_url":"https://github.com/aiUIUC","followers_url":"https://api.github.com/users/aiUIUC/followers","following_url":"https://api.github.com/users/aiUIUC/following{/other_user}","gists_url":"https://api.github.com/users/aiUIUC/gists{/gist_id}","starred_url":"https://api.github.com/users/aiUIUC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aiUIUC/subscriptions","organizations_url":"https://api.github.com/users/aiUIUC/orgs","repos_url":"https://api.github.com/users/aiUIUC/repos","events_url":"https://api.github.com/users/aiUIUC/events{/privacy}","received_events_url":"https://api.github.com/users/aiUIUC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aiUIUC/pyAIUtils","description":"Utility functions and classes for building Artificial Intelligence systems in Python","fork":false,"url":"https://api.github.com/repos/aiUIUC/pyAIUtils","forks_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/forks","keys_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/teams","hooks_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/hooks","issue_events_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/issues/events{/number}","events_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/events","assignees_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/assignees{/user}","branches_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/branches{/branch}","tags_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/tags","blobs_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/git/refs{/sha}","trees_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/statuses/{sha}","languages_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/languages","stargazers_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/stargazers","contributors_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/contributors","subscribers_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/subscribers","subscription_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/subscription","commits_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/commits{/sha}","git_commits_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/git/commits{/sha}","comments_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/comments{/number}","issue_comment_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/issues/comments{/number}","contents_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/contents/{+path}","compare_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/merges","archive_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/downloads","issues_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/issues{/number}","pulls_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls{/number}","milestones_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/milestones{/number}","notifications_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/labels{/name}","releases_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/releases{/id}","deployments_url":"https://api.github.com/repos/aiUIUC/pyAIUtils/deployments","created_at":"2016-04-19T00:52:06Z","updated_at":"2016-04-23T15:59:27Z","pushed_at":"2016-04-23T03:23:11Z","git_url":"git://github.com/aiUIUC/pyAIUtils.git","ssh_url":"git@github.com:aiUIUC/pyAIUtils.git","clone_url":"https://github.com/aiUIUC/pyAIUtils.git","svn_url":"https://github.com/aiUIUC/pyAIUtils","homepage":null,"size":34,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/16"},"html":{"href":"https://github.com/aiUIUC/pyAIUtils/pull/16"},"issue":{"href":"https://api.github.com/repos/aiUIUC/pyAIUtils/issues/16"},"comments":{"href":"https://api.github.com/repos/aiUIUC/pyAIUtils/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aiUIUC/pyAIUtils/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/aiUIUC/pyAIUtils/statuses/426f797cf7139f374b7ba05afc7feb2154e20d43"}}}}