{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1394","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1394/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1394/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1394/events","html_url":"https://github.com/tensorflow/tensorflow/pull/1394","id":138728241,"number":1394,"title":"#1293 Implement Matrix Trace","user":{"login":"cameronphchen","id":2787602,"avatar_url":"https://avatars.githubusercontent.com/u/2787602?v=3","gravatar_id":"","url":"https://api.github.com/users/cameronphchen","html_url":"https://github.com/cameronphchen","followers_url":"https://api.github.com/users/cameronphchen/followers","following_url":"https://api.github.com/users/cameronphchen/following{/other_user}","gists_url":"https://api.github.com/users/cameronphchen/gists{/gist_id}","starred_url":"https://api.github.com/users/cameronphchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameronphchen/subscriptions","organizations_url":"https://api.github.com/users/cameronphchen/orgs","repos_url":"https://api.github.com/users/cameronphchen/repos","events_url":"https://api.github.com/users/cameronphchen/events{/privacy}","received_events_url":"https://api.github.com/users/cameronphchen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"martinwicke","id":577277,"avatar_url":"https://avatars.githubusercontent.com/u/577277?v=3","gravatar_id":"","url":"https://api.github.com/users/martinwicke","html_url":"https://github.com/martinwicke","followers_url":"https://api.github.com/users/martinwicke/followers","following_url":"https://api.github.com/users/martinwicke/following{/other_user}","gists_url":"https://api.github.com/users/martinwicke/gists{/gist_id}","starred_url":"https://api.github.com/users/martinwicke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinwicke/subscriptions","organizations_url":"https://api.github.com/users/martinwicke/orgs","repos_url":"https://api.github.com/users/martinwicke/repos","events_url":"https://api.github.com/users/martinwicke/events{/privacy}","received_events_url":"https://api.github.com/users/martinwicke/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2016-03-05T22:12:57Z","updated_at":"2016-03-07T21:00:03Z","closed_at":"2016-03-07T20:35:29Z","pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/1394","html_url":"https://github.com/tensorflow/tensorflow/pull/1394","diff_url":"https://github.com/tensorflow/tensorflow/pull/1394.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/1394.patch"},"body":"As discussed in #1293, this is an attempt to implement matrix trace operator for rank 2 tensors. It only takes tensors with rank 2 (similar to the trace design in Theano). Trace for higher rank tensors requires more discussion on how we want to implement it. One approach is to calculate trace for all rank 2 sub-tensors as numpy. Another is to implement [tensor contraction](https://en.wikipedia.org/wiki/Tensor_contraction) (generalization of trace)."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/193446469","html_url":"https://github.com/tensorflow/tensorflow/pull/1394#issuecomment-193446469","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1394","id":193446469,"user":{"login":"cameronphchen","id":2787602,"avatar_url":"https://avatars.githubusercontent.com/u/2787602?v=3","gravatar_id":"","url":"https://api.github.com/users/cameronphchen","html_url":"https://github.com/cameronphchen","followers_url":"https://api.github.com/users/cameronphchen/followers","following_url":"https://api.github.com/users/cameronphchen/following{/other_user}","gists_url":"https://api.github.com/users/cameronphchen/gists{/gist_id}","starred_url":"https://api.github.com/users/cameronphchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cameronphchen/subscriptions","organizations_url":"https://api.github.com/users/cameronphchen/orgs","repos_url":"https://api.github.com/users/cameronphchen/repos","events_url":"https://api.github.com/users/cameronphchen/events{/privacy}","received_events_url":"https://api.github.com/users/cameronphchen/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T21:00:03Z","updated_at":"2016-03-07T21:00:03Z","body":"Thank you!"}}