{"action":"created","comment":{"url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/comments/136749967","pull_request_review_id":60330558,"id":136749967,"diff_hunk":"@@ -84,13 +87,32 @@ object TensorflowLoader{\n   }\n \n   /**\n+   * Parse a tensorflow model protobuf file, read a list of op nodes from it\n+   * @param graphProtoTxt where is the tf protobuf file\n+   * @return\n+   */\n+  private[bigdl] def parseTxt(graphProtoTxt: String) : List[NodeDef] = {","path":"spark/dl/src/main/scala/com/intel/analytics/bigdl/utils/tf/TensorflowLoader.scala","position":57,"original_position":57,"commit_id":"199027045594b1f69a76571feb0276d20807d6d2","original_commit_id":"199027045594b1f69a76571feb0276d20807d6d2","user":{"login":"yangw1234","id":10561966,"avatar_url":"https://avatars1.githubusercontent.com/u/10561966?v=4","gravatar_id":"","url":"https://api.github.com/users/yangw1234","html_url":"https://github.com/yangw1234","followers_url":"https://api.github.com/users/yangw1234/followers","following_url":"https://api.github.com/users/yangw1234/following{/other_user}","gists_url":"https://api.github.com/users/yangw1234/gists{/gist_id}","starred_url":"https://api.github.com/users/yangw1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yangw1234/subscriptions","organizations_url":"https://api.github.com/users/yangw1234/orgs","repos_url":"https://api.github.com/users/yangw1234/repos","events_url":"https://api.github.com/users/yangw1234/events{/privacy}","received_events_url":"https://api.github.com/users/yangw1234/received_events","type":"User","site_admin":false},"body":"parseTxt process model.pbtxt, parse process model.pb","created_at":"2017-09-04T06:15:25Z","updated_at":"2017-09-04T06:15:25Z","html_url":"https://github.com/intel-analytics/BigDL/pull/1499#discussion_r136749967","pull_request_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/1499","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/comments/136749967"},"html":{"href":"https://github.com/intel-analytics/BigDL/pull/1499#discussion_r136749967"},"pull_request":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/1499"}},"in_reply_to_id":136749583},"pull_request":{"url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/1499","id":137153853,"html_url":"https://github.com/intel-analytics/BigDL/pull/1499","diff_url":"https://github.com/intel-analytics/BigDL/pull/1499.diff","patch_url":"https://github.com/intel-analytics/BigDL/pull/1499.patch","issue_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/1499","number":1499,"state":"open","locked":false,"title":"support loading a subset of tf graph and support control dependency in graph","user":{"login":"yangw1234","id":10561966,"avatar_url":"https://avatars1.githubusercontent.com/u/10561966?v=4","gravatar_id":"","url":"https://api.github.com/users/yangw1234","html_url":"https://github.com/yangw1234","followers_url":"https://api.github.com/users/yangw1234/followers","following_url":"https://api.github.com/users/yangw1234/following{/other_user}","gists_url":"https://api.github.com/users/yangw1234/gists{/gist_id}","starred_url":"https://api.github.com/users/yangw1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yangw1234/subscriptions","organizations_url":"https://api.github.com/users/yangw1234/orgs","repos_url":"https://api.github.com/users/yangw1234/repos","events_url":"https://api.github.com/users/yangw1234/events{/privacy}","received_events_url":"https://api.github.com/users/yangw1234/received_events","type":"User","site_admin":false},"body":"## What changes were proposed in this pull request?\r\n\r\n1. support loading a subset of tf graph\r\n2. Change `Context` key type to String for future development convenience.\r\n3. handle tensorflow control dependency\r\n\r\n## How was this patch tested?\r\n\r\nadd unit tests\r\n\r\n","created_at":"2017-08-23T08:04:05Z","updated_at":"2017-09-04T06:15:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72c9a9f0b04229049a0abebb23bfa3771bc5f401","assignee":{"login":"yiheng","id":1297418,"avatar_url":"https://avatars3.githubusercontent.com/u/1297418?v=4","gravatar_id":"","url":"https://api.github.com/users/yiheng","html_url":"https://github.com/yiheng","followers_url":"https://api.github.com/users/yiheng/followers","following_url":"https://api.github.com/users/yiheng/following{/other_user}","gists_url":"https://api.github.com/users/yiheng/gists{/gist_id}","starred_url":"https://api.github.com/users/yiheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiheng/subscriptions","organizations_url":"https://api.github.com/users/yiheng/orgs","repos_url":"https://api.github.com/users/yiheng/repos","events_url":"https://api.github.com/users/yiheng/events{/privacy}","received_events_url":"https://api.github.com/users/yiheng/received_events","type":"User","site_admin":false},"assignees":[{"login":"yiheng","id":1297418,"avatar_url":"https://avatars3.githubusercontent.com/u/1297418?v=4","gravatar_id":"","url":"https://api.github.com/users/yiheng","html_url":"https://github.com/yiheng","followers_url":"https://api.github.com/users/yiheng/followers","following_url":"https://api.github.com/users/yiheng/following{/other_user}","gists_url":"https://api.github.com/users/yiheng/gists{/gist_id}","starred_url":"https://api.github.com/users/yiheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiheng/subscriptions","organizations_url":"https://api.github.com/users/yiheng/orgs","repos_url":"https://api.github.com/users/yiheng/repos","events_url":"https://api.github.com/users/yiheng/events{/privacy}","received_events_url":"https://api.github.com/users/yiheng/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/1499/commits","review_comments_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/1499/comments","review_comment_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/1499/comments","statuses_url":"https://api.github.com/repos/intel-analytics/BigDL/statuses/199027045594b1f69a76571feb0276d20807d6d2","head":{"label":"yangw1234:graph","ref":"graph","sha":"199027045594b1f69a76571feb0276d20807d6d2","user":{"login":"yangw1234","id":10561966,"avatar_url":"https://avatars1.githubusercontent.com/u/10561966?v=4","gravatar_id":"","url":"https://api.github.com/users/yangw1234","html_url":"https://github.com/yangw1234","followers_url":"https://api.github.com/users/yangw1234/followers","following_url":"https://api.github.com/users/yangw1234/following{/other_user}","gists_url":"https://api.github.com/users/yangw1234/gists{/gist_id}","starred_url":"https://api.github.com/users/yangw1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yangw1234/subscriptions","organizations_url":"https://api.github.com/users/yangw1234/orgs","repos_url":"https://api.github.com/users/yangw1234/repos","events_url":"https://api.github.com/users/yangw1234/events{/privacy}","received_events_url":"https://api.github.com/users/yangw1234/received_events","type":"User","site_admin":false},"repo":{"id":81434841,"name":"BigDL","full_name":"yangw1234/BigDL","owner":{"login":"yangw1234","id":10561966,"avatar_url":"https://avatars1.githubusercontent.com/u/10561966?v=4","gravatar_id":"","url":"https://api.github.com/users/yangw1234","html_url":"https://github.com/yangw1234","followers_url":"https://api.github.com/users/yangw1234/followers","following_url":"https://api.github.com/users/yangw1234/following{/other_user}","gists_url":"https://api.github.com/users/yangw1234/gists{/gist_id}","starred_url":"https://api.github.com/users/yangw1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yangw1234/subscriptions","organizations_url":"https://api.github.com/users/yangw1234/orgs","repos_url":"https://api.github.com/users/yangw1234/repos","events_url":"https://api.github.com/users/yangw1234/events{/privacy}","received_events_url":"https://api.github.com/users/yangw1234/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yangw1234/BigDL","description":"BigDL: Distributed Deep Learning Library for Apache Spark","fork":true,"url":"https://api.github.com/repos/yangw1234/BigDL","forks_url":"https://api.github.com/repos/yangw1234/BigDL/forks","keys_url":"https://api.github.com/repos/yangw1234/BigDL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yangw1234/BigDL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yangw1234/BigDL/teams","hooks_url":"https://api.github.com/repos/yangw1234/BigDL/hooks","issue_events_url":"https://api.github.com/repos/yangw1234/BigDL/issues/events{/number}","events_url":"https://api.github.com/repos/yangw1234/BigDL/events","assignees_url":"https://api.github.com/repos/yangw1234/BigDL/assignees{/user}","branches_url":"https://api.github.com/repos/yangw1234/BigDL/branches{/branch}","tags_url":"https://api.github.com/repos/yangw1234/BigDL/tags","blobs_url":"https://api.github.com/repos/yangw1234/BigDL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yangw1234/BigDL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yangw1234/BigDL/git/refs{/sha}","trees_url":"https://api.github.com/repos/yangw1234/BigDL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yangw1234/BigDL/statuses/{sha}","languages_url":"https://api.github.com/repos/yangw1234/BigDL/languages","stargazers_url":"https://api.github.com/repos/yangw1234/BigDL/stargazers","contributors_url":"https://api.github.com/repos/yangw1234/BigDL/contributors","subscribers_url":"https://api.github.com/repos/yangw1234/BigDL/subscribers","subscription_url":"https://api.github.com/repos/yangw1234/BigDL/subscription","commits_url":"https://api.github.com/repos/yangw1234/BigDL/commits{/sha}","git_commits_url":"https://api.github.com/repos/yangw1234/BigDL/git/commits{/sha}","comments_url":"https://api.github.com/repos/yangw1234/BigDL/comments{/number}","issue_comment_url":"https://api.github.com/repos/yangw1234/BigDL/issues/comments{/number}","contents_url":"https://api.github.com/repos/yangw1234/BigDL/contents/{+path}","compare_url":"https://api.github.com/repos/yangw1234/BigDL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yangw1234/BigDL/merges","archive_url":"https://api.github.com/repos/yangw1234/BigDL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yangw1234/BigDL/downloads","issues_url":"https://api.github.com/repos/yangw1234/BigDL/issues{/number}","pulls_url":"https://api.github.com/repos/yangw1234/BigDL/pulls{/number}","milestones_url":"https://api.github.com/repos/yangw1234/BigDL/milestones{/number}","notifications_url":"https://api.github.com/repos/yangw1234/BigDL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yangw1234/BigDL/labels{/name}","releases_url":"https://api.github.com/repos/yangw1234/BigDL/releases{/id}","deployments_url":"https://api.github.com/repos/yangw1234/BigDL/deployments","created_at":"2017-02-09T09:47:20Z","updated_at":"2017-02-09T09:47:23Z","pushed_at":"2017-09-04T05:34:55Z","git_url":"git://github.com/yangw1234/BigDL.git","ssh_url":"git@github.com:yangw1234/BigDL.git","clone_url":"https://github.com/yangw1234/BigDL.git","svn_url":"https://github.com/yangw1234/BigDL","homepage":"","size":16497,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"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":"intel-analytics:master","ref":"master","sha":"1f6a2495ab94ecc0bd98b59957899beafabf48e7","user":{"login":"intel-analytics","id":10941215,"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":66823715,"name":"BigDL","full_name":"intel-analytics/BigDL","owner":{"login":"intel-analytics","id":10941215,"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/BigDL","description":"BigDL: Distributed Deep Learning Library for Apache Spark","fork":false,"url":"https://api.github.com/repos/intel-analytics/BigDL","forks_url":"https://api.github.com/repos/intel-analytics/BigDL/forks","keys_url":"https://api.github.com/repos/intel-analytics/BigDL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intel-analytics/BigDL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intel-analytics/BigDL/teams","hooks_url":"https://api.github.com/repos/intel-analytics/BigDL/hooks","issue_events_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/events{/number}","events_url":"https://api.github.com/repos/intel-analytics/BigDL/events","assignees_url":"https://api.github.com/repos/intel-analytics/BigDL/assignees{/user}","branches_url":"https://api.github.com/repos/intel-analytics/BigDL/branches{/branch}","tags_url":"https://api.github.com/repos/intel-analytics/BigDL/tags","blobs_url":"https://api.github.com/repos/intel-analytics/BigDL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intel-analytics/BigDL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intel-analytics/BigDL/git/refs{/sha}","trees_url":"https://api.github.com/repos/intel-analytics/BigDL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intel-analytics/BigDL/statuses/{sha}","languages_url":"https://api.github.com/repos/intel-analytics/BigDL/languages","stargazers_url":"https://api.github.com/repos/intel-analytics/BigDL/stargazers","contributors_url":"https://api.github.com/repos/intel-analytics/BigDL/contributors","subscribers_url":"https://api.github.com/repos/intel-analytics/BigDL/subscribers","subscription_url":"https://api.github.com/repos/intel-analytics/BigDL/subscription","commits_url":"https://api.github.com/repos/intel-analytics/BigDL/commits{/sha}","git_commits_url":"https://api.github.com/repos/intel-analytics/BigDL/git/commits{/sha}","comments_url":"https://api.github.com/repos/intel-analytics/BigDL/comments{/number}","issue_comment_url":"https://api.github.com/repos/intel-analytics/BigDL/issues/comments{/number}","contents_url":"https://api.github.com/repos/intel-analytics/BigDL/contents/{+path}","compare_url":"https://api.github.com/repos/intel-analytics/BigDL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intel-analytics/BigDL/merges","archive_url":"https://api.github.com/repos/intel-analytics/BigDL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intel-analytics/BigDL/downloads","issues_url":"https://api.github.com/repos/intel-analytics/BigDL/issues{/number}","pulls_url":"https://api.github.com/repos/intel-analytics/BigDL/pulls{/number}","milestones_url":"https://api.github.com/repos/intel-analytics/BigDL/milestones{/number}","notifications_url":"https://api.github.com/repos/intel-analytics/BigDL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intel-analytics/BigDL/labels{/name}","releases_url":"https://api.github.com/repos/intel-analytics/BigDL/releases{/id}","deployments_url":"https://api.github.com/repos/intel-analytics/BigDL/deployments","created_at":"2016-08-29T07:59:50Z","updated_at":"2017-09-03T14:00:06Z","pushed_at":"2017-09-04T05:34:57Z","git_url":"git://github.com/intel-analytics/BigDL.git","ssh_url":"git@github.com:intel-analytics/BigDL.git","clone_url":"https://github.com/intel-analytics/BigDL.git","svn_url":"https://github.com/intel-analytics/BigDL","homepage":"https://bigdl-project.github.io/","size":14748,"stargazers_count":1966,"watchers_count":1966,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":397,"mirror_url":null,"open_issues_count":125,"forks":397,"open_issues":125,"watchers":1966,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/1499"},"html":{"href":"https://github.com/intel-analytics/BigDL/pull/1499"},"issue":{"href":"https://api.github.com/repos/intel-analytics/BigDL/issues/1499"},"comments":{"href":"https://api.github.com/repos/intel-analytics/BigDL/issues/1499/comments"},"review_comments":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/1499/comments"},"review_comment":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intel-analytics/BigDL/pulls/1499/commits"},"statuses":{"href":"https://api.github.com/repos/intel-analytics/BigDL/statuses/199027045594b1f69a76571feb0276d20807d6d2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"yangw1234"}}