{"action":"created","issue":{"url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/400","repository_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn","labels_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/400/comments","events_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/400/events","html_url":"https://github.com/tiny-dnn/tiny-dnn/pull/400","id":188923881,"number":400,"title":"add Tensor class","user":{"login":"edgarriba","id":5157099,"avatar_url":"https://avatars.githubusercontent.com/u/5157099?v=3","gravatar_id":"","url":"https://api.github.com/users/edgarriba","html_url":"https://github.com/edgarriba","followers_url":"https://api.github.com/users/edgarriba/followers","following_url":"https://api.github.com/users/edgarriba/following{/other_user}","gists_url":"https://api.github.com/users/edgarriba/gists{/gist_id}","starred_url":"https://api.github.com/users/edgarriba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgarriba/subscriptions","organizations_url":"https://api.github.com/users/edgarriba/orgs","repos_url":"https://api.github.com/users/edgarriba/repos","events_url":"https://api.github.com/users/edgarriba/events{/privacy}","received_events_url":"https://api.github.com/users/edgarriba/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"edgarriba","id":5157099,"avatar_url":"https://avatars.githubusercontent.com/u/5157099?v=3","gravatar_id":"","url":"https://api.github.com/users/edgarriba","html_url":"https://github.com/edgarriba","followers_url":"https://api.github.com/users/edgarriba/followers","following_url":"https://api.github.com/users/edgarriba/following{/other_user}","gists_url":"https://api.github.com/users/edgarriba/gists{/gist_id}","starred_url":"https://api.github.com/users/edgarriba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgarriba/subscriptions","organizations_url":"https://api.github.com/users/edgarriba/orgs","repos_url":"https://api.github.com/users/edgarriba/repos","events_url":"https://api.github.com/users/edgarriba/events{/privacy}","received_events_url":"https://api.github.com/users/edgarriba/received_events","type":"User","site_admin":false},"assignees":[{"login":"edgarriba","id":5157099,"avatar_url":"https://avatars.githubusercontent.com/u/5157099?v=3","gravatar_id":"","url":"https://api.github.com/users/edgarriba","html_url":"https://github.com/edgarriba","followers_url":"https://api.github.com/users/edgarriba/followers","following_url":"https://api.github.com/users/edgarriba/following{/other_user}","gists_url":"https://api.github.com/users/edgarriba/gists{/gist_id}","starred_url":"https://api.github.com/users/edgarriba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edgarriba/subscriptions","organizations_url":"https://api.github.com/users/edgarriba/orgs","repos_url":"https://api.github.com/users/edgarriba/repos","events_url":"https://api.github.com/users/edgarriba/events{/privacy}","received_events_url":"https://api.github.com/users/edgarriba/received_events","type":"User","site_admin":false}],"milestone":null,"comments":22,"created_at":"2016-11-12T17:37:07Z","updated_at":"2016-11-20T11:35:11Z","closed_at":"2016-11-20T08:45:46Z","pull_request":{"url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/pulls/400","html_url":"https://github.com/tiny-dnn/tiny-dnn/pull/400","diff_url":"https://github.com/tiny-dnn/tiny-dnn/pull/400.diff","patch_url":"https://github.com/tiny-dnn/tiny-dnn/pull/400.patch"},"body":"Add the Tensor structure:\r\n- data hold by `std::vector<>` with 64bytes alignment\r\n- three different data accessors: `t.ptr<float_t>()`, `t.at<float_t>()` and `t[idx]`\r\n- basic `reshape()` and `resize()` routines\r\n- basic `toDevice()` and `fromDevice()` routines\r\n- implement element-wise add, sub, mul, div"},"comment":{"url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/comments/261772848","html_url":"https://github.com/tiny-dnn/tiny-dnn/pull/400#issuecomment-261772848","issue_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/400","id":261772848,"user":{"login":"bhack","id":1710528,"avatar_url":"https://avatars.githubusercontent.com/u/1710528?v=3","gravatar_id":"","url":"https://api.github.com/users/bhack","html_url":"https://github.com/bhack","followers_url":"https://api.github.com/users/bhack/followers","following_url":"https://api.github.com/users/bhack/following{/other_user}","gists_url":"https://api.github.com/users/bhack/gists{/gist_id}","starred_url":"https://api.github.com/users/bhack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhack/subscriptions","organizations_url":"https://api.github.com/users/bhack/orgs","repos_url":"https://api.github.com/users/bhack/repos","events_url":"https://api.github.com/users/bhack/events{/privacy}","received_events_url":"https://api.github.com/users/bhack/received_events","type":"User","site_admin":false},"created_at":"2016-11-20T11:35:11Z","updated_at":"2016-11-20T11:35:11Z","body":"The new tensor PR is https://github.com/tiny-dnn/tiny-dnn/pull/411"}}
{"actor":{"display_login":"bhack"}}