{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/interesaaat/TorchSharp/pulls/1","id":263644786,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYzNjQ0Nzg2","html_url":"https://github.com/interesaaat/TorchSharp/pull/1","diff_url":"https://github.com/interesaaat/TorchSharp/pull/1.diff","patch_url":"https://github.com/interesaaat/TorchSharp/pull/1.patch","issue_url":"https://api.github.com/repos/interesaaat/TorchSharp/issues/1","number":1,"state":"open","locked":false,"title":"Add tensor transfer functions between CPU and CUDA devices","user":{"login":"gyeongin","id":10707460,"node_id":"MDQ6VXNlcjEwNzA3NDYw","avatar_url":"https://avatars1.githubusercontent.com/u/10707460?v=4","gravatar_id":"","url":"https://api.github.com/users/gyeongin","html_url":"https://github.com/gyeongin","followers_url":"https://api.github.com/users/gyeongin/followers","following_url":"https://api.github.com/users/gyeongin/following{/other_user}","gists_url":"https://api.github.com/users/gyeongin/gists{/gist_id}","starred_url":"https://api.github.com/users/gyeongin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyeongin/subscriptions","organizations_url":"https://api.github.com/users/gyeongin/orgs","repos_url":"https://api.github.com/users/gyeongin/repos","events_url":"https://api.github.com/users/gyeongin/events{/privacy}","received_events_url":"https://api.github.com/users/gyeongin/received_events","type":"User","site_admin":false},"body":"This PR adds functions for transferring tensors between CPU and CUDA devices.\r\nI commented this [line](https://github.com/interesaaat/TorchSharp/blob/LibTorchSharpFirstTest/TorchSharp/Generated/TorchTensor.generated.cs#L10) to avoid build error.\r\nWe need to extend this transfer function later to support multiple CUDA devices (e.g., \"cuda:3\").\r\n","created_at":"2019-03-22T14:55:16Z","updated_at":"2019-03-22T14:55:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/interesaaat/TorchSharp/pulls/1/commits","review_comments_url":"https://api.github.com/repos/interesaaat/TorchSharp/pulls/1/comments","review_comment_url":"https://api.github.com/repos/interesaaat/TorchSharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/interesaaat/TorchSharp/issues/1/comments","statuses_url":"https://api.github.com/repos/interesaaat/TorchSharp/statuses/0ad3c2f57ce6604dec0c5d2a2b7a0a4c1c162484","head":{"label":"gyeongin:cpu-cuda-transfer","ref":"cpu-cuda-transfer","sha":"0ad3c2f57ce6604dec0c5d2a2b7a0a4c1c162484","user":{"login":"gyeongin","id":10707460,"node_id":"MDQ6VXNlcjEwNzA3NDYw","avatar_url":"https://avatars1.githubusercontent.com/u/10707460?v=4","gravatar_id":"","url":"https://api.github.com/users/gyeongin","html_url":"https://github.com/gyeongin","followers_url":"https://api.github.com/users/gyeongin/followers","following_url":"https://api.github.com/users/gyeongin/following{/other_user}","gists_url":"https://api.github.com/users/gyeongin/gists{/gist_id}","starred_url":"https://api.github.com/users/gyeongin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyeongin/subscriptions","organizations_url":"https://api.github.com/users/gyeongin/orgs","repos_url":"https://api.github.com/users/gyeongin/repos","events_url":"https://api.github.com/users/gyeongin/events{/privacy}","received_events_url":"https://api.github.com/users/gyeongin/received_events","type":"User","site_admin":false},"repo":{"id":177134530,"node_id":"MDEwOlJlcG9zaXRvcnkxNzcxMzQ1MzA=","name":"TorchSharp","full_name":"gyeongin/TorchSharp","private":false,"owner":{"login":"gyeongin","id":10707460,"node_id":"MDQ6VXNlcjEwNzA3NDYw","avatar_url":"https://avatars1.githubusercontent.com/u/10707460?v=4","gravatar_id":"","url":"https://api.github.com/users/gyeongin","html_url":"https://github.com/gyeongin","followers_url":"https://api.github.com/users/gyeongin/followers","following_url":"https://api.github.com/users/gyeongin/following{/other_user}","gists_url":"https://api.github.com/users/gyeongin/gists{/gist_id}","starred_url":"https://api.github.com/users/gyeongin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyeongin/subscriptions","organizations_url":"https://api.github.com/users/gyeongin/orgs","repos_url":"https://api.github.com/users/gyeongin/repos","events_url":"https://api.github.com/users/gyeongin/events{/privacy}","received_events_url":"https://api.github.com/users/gyeongin/received_events","type":"User","site_admin":false},"html_url":"https://github.com/gyeongin/TorchSharp","description":".NET bindings for the Pytorch engine","fork":true,"url":"https://api.github.com/repos/gyeongin/TorchSharp","forks_url":"https://api.github.com/repos/gyeongin/TorchSharp/forks","keys_url":"https://api.github.com/repos/gyeongin/TorchSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gyeongin/TorchSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gyeongin/TorchSharp/teams","hooks_url":"https://api.github.com/repos/gyeongin/TorchSharp/hooks","issue_events_url":"https://api.github.com/repos/gyeongin/TorchSharp/issues/events{/number}","events_url":"https://api.github.com/repos/gyeongin/TorchSharp/events","assignees_url":"https://api.github.com/repos/gyeongin/TorchSharp/assignees{/user}","branches_url":"https://api.github.com/repos/gyeongin/TorchSharp/branches{/branch}","tags_url":"https://api.github.com/repos/gyeongin/TorchSharp/tags","blobs_url":"https://api.github.com/repos/gyeongin/TorchSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gyeongin/TorchSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gyeongin/TorchSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/gyeongin/TorchSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gyeongin/TorchSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/gyeongin/TorchSharp/languages","stargazers_url":"https://api.github.com/repos/gyeongin/TorchSharp/stargazers","contributors_url":"https://api.github.com/repos/gyeongin/TorchSharp/contributors","subscribers_url":"https://api.github.com/repos/gyeongin/TorchSharp/subscribers","subscription_url":"https://api.github.com/repos/gyeongin/TorchSharp/subscription","commits_url":"https://api.github.com/repos/gyeongin/TorchSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/gyeongin/TorchSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/gyeongin/TorchSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/gyeongin/TorchSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/gyeongin/TorchSharp/contents/{+path}","compare_url":"https://api.github.com/repos/gyeongin/TorchSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gyeongin/TorchSharp/merges","archive_url":"https://api.github.com/repos/gyeongin/TorchSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gyeongin/TorchSharp/downloads","issues_url":"https://api.github.com/repos/gyeongin/TorchSharp/issues{/number}","pulls_url":"https://api.github.com/repos/gyeongin/TorchSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/gyeongin/TorchSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/gyeongin/TorchSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gyeongin/TorchSharp/labels{/name}","releases_url":"https://api.github.com/repos/gyeongin/TorchSharp/releases{/id}","deployments_url":"https://api.github.com/repos/gyeongin/TorchSharp/deployments","created_at":"2019-03-22T12:16:58Z","updated_at":"2019-03-22T12:17:00Z","pushed_at":"2019-03-22T14:52:02Z","git_url":"git://github.com/gyeongin/TorchSharp.git","ssh_url":"git@github.com:gyeongin/TorchSharp.git","clone_url":"https://github.com/gyeongin/TorchSharp.git","svn_url":"https://github.com/gyeongin/TorchSharp","homepage":null,"size":1673,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"interesaaat:LibTorchSharpFirstTest","ref":"LibTorchSharpFirstTest","sha":"ec9d99110a45f87cf8401800320e0abef00def0b","user":{"login":"interesaaat","id":1534199,"node_id":"MDQ6VXNlcjE1MzQxOTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1534199?v=4","gravatar_id":"","url":"https://api.github.com/users/interesaaat","html_url":"https://github.com/interesaaat","followers_url":"https://api.github.com/users/interesaaat/followers","following_url":"https://api.github.com/users/interesaaat/following{/other_user}","gists_url":"https://api.github.com/users/interesaaat/gists{/gist_id}","starred_url":"https://api.github.com/users/interesaaat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interesaaat/subscriptions","organizations_url":"https://api.github.com/users/interesaaat/orgs","repos_url":"https://api.github.com/users/interesaaat/repos","events_url":"https://api.github.com/users/interesaaat/events{/privacy}","received_events_url":"https://api.github.com/users/interesaaat/received_events","type":"User","site_admin":false},"repo":{"id":154566574,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ1NjY1NzQ=","name":"TorchSharp","full_name":"interesaaat/TorchSharp","private":false,"owner":{"login":"interesaaat","id":1534199,"node_id":"MDQ6VXNlcjE1MzQxOTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1534199?v=4","gravatar_id":"","url":"https://api.github.com/users/interesaaat","html_url":"https://github.com/interesaaat","followers_url":"https://api.github.com/users/interesaaat/followers","following_url":"https://api.github.com/users/interesaaat/following{/other_user}","gists_url":"https://api.github.com/users/interesaaat/gists{/gist_id}","starred_url":"https://api.github.com/users/interesaaat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interesaaat/subscriptions","organizations_url":"https://api.github.com/users/interesaaat/orgs","repos_url":"https://api.github.com/users/interesaaat/repos","events_url":"https://api.github.com/users/interesaaat/events{/privacy}","received_events_url":"https://api.github.com/users/interesaaat/received_events","type":"User","site_admin":false},"html_url":"https://github.com/interesaaat/TorchSharp","description":".NET bindings for the Pytorch engine","fork":true,"url":"https://api.github.com/repos/interesaaat/TorchSharp","forks_url":"https://api.github.com/repos/interesaaat/TorchSharp/forks","keys_url":"https://api.github.com/repos/interesaaat/TorchSharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interesaaat/TorchSharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interesaaat/TorchSharp/teams","hooks_url":"https://api.github.com/repos/interesaaat/TorchSharp/hooks","issue_events_url":"https://api.github.com/repos/interesaaat/TorchSharp/issues/events{/number}","events_url":"https://api.github.com/repos/interesaaat/TorchSharp/events","assignees_url":"https://api.github.com/repos/interesaaat/TorchSharp/assignees{/user}","branches_url":"https://api.github.com/repos/interesaaat/TorchSharp/branches{/branch}","tags_url":"https://api.github.com/repos/interesaaat/TorchSharp/tags","blobs_url":"https://api.github.com/repos/interesaaat/TorchSharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interesaaat/TorchSharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interesaaat/TorchSharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/interesaaat/TorchSharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interesaaat/TorchSharp/statuses/{sha}","languages_url":"https://api.github.com/repos/interesaaat/TorchSharp/languages","stargazers_url":"https://api.github.com/repos/interesaaat/TorchSharp/stargazers","contributors_url":"https://api.github.com/repos/interesaaat/TorchSharp/contributors","subscribers_url":"https://api.github.com/repos/interesaaat/TorchSharp/subscribers","subscription_url":"https://api.github.com/repos/interesaaat/TorchSharp/subscription","commits_url":"https://api.github.com/repos/interesaaat/TorchSharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/interesaaat/TorchSharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/interesaaat/TorchSharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/interesaaat/TorchSharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/interesaaat/TorchSharp/contents/{+path}","compare_url":"https://api.github.com/repos/interesaaat/TorchSharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interesaaat/TorchSharp/merges","archive_url":"https://api.github.com/repos/interesaaat/TorchSharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interesaaat/TorchSharp/downloads","issues_url":"https://api.github.com/repos/interesaaat/TorchSharp/issues{/number}","pulls_url":"https://api.github.com/repos/interesaaat/TorchSharp/pulls{/number}","milestones_url":"https://api.github.com/repos/interesaaat/TorchSharp/milestones{/number}","notifications_url":"https://api.github.com/repos/interesaaat/TorchSharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interesaaat/TorchSharp/labels{/name}","releases_url":"https://api.github.com/repos/interesaaat/TorchSharp/releases{/id}","deployments_url":"https://api.github.com/repos/interesaaat/TorchSharp/deployments","created_at":"2018-10-24T20:41:34Z","updated_at":"2019-03-09T04:01:12Z","pushed_at":"2019-03-22T05:14:47Z","git_url":"git://github.com/interesaaat/TorchSharp.git","ssh_url":"git@github.com:interesaaat/TorchSharp.git","clone_url":"https://github.com/interesaaat/TorchSharp.git","svn_url":"https://github.com/interesaaat/TorchSharp","homepage":null,"size":1668,"stargazers_count":1,"watchers_count":1,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/interesaaat/TorchSharp/pulls/1"},"html":{"href":"https://github.com/interesaaat/TorchSharp/pull/1"},"issue":{"href":"https://api.github.com/repos/interesaaat/TorchSharp/issues/1"},"comments":{"href":"https://api.github.com/repos/interesaaat/TorchSharp/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/interesaaat/TorchSharp/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/interesaaat/TorchSharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/interesaaat/TorchSharp/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/interesaaat/TorchSharp/statuses/0ad3c2f57ce6604dec0c5d2a2b7a0a4c1c162484"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":151,"deletions":33,"changed_files":4}}
{"actor":{"display_login":"gyeongin"}}