{"action":"created","issue":{"url":"https://api.github.com/repos/OpenMined/PySyft/issues/1251","repository_url":"https://api.github.com/repos/OpenMined/PySyft","labels_url":"https://api.github.com/repos/OpenMined/PySyft/issues/1251/labels{/name}","comments_url":"https://api.github.com/repos/OpenMined/PySyft/issues/1251/comments","events_url":"https://api.github.com/repos/OpenMined/PySyft/issues/1251/events","html_url":"https://github.com/OpenMined/PySyft/issues/1251","id":288339587,"number":1251,"title":"Implement the inline Transpose function for IntTensor on the CPU","user":{"login":"alberduris","id":7073086,"avatar_url":"https://avatars3.githubusercontent.com/u/7073086?v=4","gravatar_id":"","url":"https://api.github.com/users/alberduris","html_url":"https://github.com/alberduris","followers_url":"https://api.github.com/users/alberduris/followers","following_url":"https://api.github.com/users/alberduris/following{/other_user}","gists_url":"https://api.github.com/users/alberduris/gists{/gist_id}","starred_url":"https://api.github.com/users/alberduris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alberduris/subscriptions","organizations_url":"https://api.github.com/users/alberduris/orgs","repos_url":"https://api.github.com/users/alberduris/repos","events_url":"https://api.github.com/users/alberduris/events{/privacy}","received_events_url":"https://api.github.com/users/alberduris/received_events","type":"User","site_admin":false},"labels":[{"id":800680617,"url":"https://api.github.com/repos/OpenMined/PySyft/labels/C%23","name":"C#","color":"e2bf1f","default":false},{"id":800681254,"url":"https://api.github.com/repos/OpenMined/PySyft/labels/CPU","name":"CPU","color":"c1191e","default":false},{"id":800680882,"url":"https://api.github.com/repos/OpenMined/PySyft/labels/Python","name":"Python","color":"410bb7","default":false},{"id":649919708,"url":"https://api.github.com/repos/OpenMined/PySyft/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":758584332,"url":"https://api.github.com/repos/OpenMined/PySyft/labels/good%20first%20issue","name":"good first issue","color":"1d76db","default":true},{"id":649919709,"url":"https://api.github.com/repos/OpenMined/PySyft/labels/help%20wanted","name":"help wanted","color":"c2e0c6","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-13T16:09:25Z","updated_at":"2018-02-12T12:39:10Z","closed_at":null,"author_association":"MEMBER","body":"As a Data Scientist using PySyft's IntTensor type, I want to leverage a wide range of methods which use our new Unity backend. For this ticket to be complete, the inline transpose() should be added to our IntTensor class with the appropriate functionality.\n\nIf you want to take it to the next level, boost it implementing the operation on the GPU: Search for an issue titled like this but with \"on the GPU\" on the title!\nHLSL (GPU language) tutorial here: [Direct Compute Programming Guide](https://github.com/OpenMined/OpenMined/blob/master/tutorials/DirectCompute_Programming_Guide.md)\n\nNote, it is possible that when you look in the code you'll find that parts of this issue were completed on the backend while implementing another issue. This is normal as features do not live in isolation. If this is the case, just take it as a convenience that someone already built that part and press on!\n\n### Every Reference You Might Need for this Issue:\n\n- For a reference on the operation this performs check out [PyTorch](http://pytorch.org/docs/master/tensors.html)'s documentation.\n- For a reference on how to program in Unity, check out [this basic tutorial](https://unity3d.com/learn/tutorials/projects/roll-ball-tutorial)\n- For a reference on how to write HLSL code, check out [this basic tutorial](http://kylehalladay.com/blog/tutorial/2014/06/27/Compute-Shaders-Are-Nifty.html)\n- For a complete tutorial on how to add functions to FloatTensor (step by step guide) see [this Google Document](https://docs.google.com/document/d/1WRd7gGLFN0Awtf86AICYIHtg3gfFWLBa5wYTthsB3i0/edit)\n- For a reference on how other functions like this have been implemented check out the functions in [this notebook](https://github.com/OpenMined/OpenMined/blob/master/notebooks/Syft%20Tensor%20Example%20Notebook.ipynb) as well as the corresponding files that made it possible ([SyftController](https://github.com/OpenMined/OpenMined/blob/master/UnityProject/Assets/OpenMined/Network/Controllers/SyftController.cs), [FloatTensor.Ops](https://github.com/OpenMined/OpenMined/blob/master/UnityProject/Assets/OpenMined/Syft/Tensor/FloatTensor.Ops.cs), [FloatTensorShaders](https://github.com/OpenMined/OpenMined/blob/master/UnityProject/Assets/OpenMined/Syft/Tensor/Ops/Shaders/FloatTensorShaders.compute), [TensorOpsShaders](https://github.com/OpenMined/OpenMined/blob/master/UnityProject/Assets/OpenMined/Syft/Tensor/Ops/Shaders/TensorOpsShaders.compute), [FloatTensorTest](https://github.com/OpenMined/OpenMined/blob/master/UnityProject/Assets/OpenMined.Tests/Editor/FloatTensor/FloatTensorTest.cs) and [FloatTensorGpuTest](https://github.com/OpenMined/OpenMined/blob/master/UnityProject/Assets/OpenMined.Tests/Editor/FloatTensor/FloatTensorGpuTest.cs)).\n- And of course, please consider our [Contributor Guidelines](https://github.com/OpenMined/Docs/blob/master/contributing/guidelines.md) for all contributions.\n\n### Acceptance Criteria:\n\n- [ ] comment below that you're picking up this project\n- [ ] an example in a notebook in our [tests folder](https://github.com/OpenMined/OpenMined/tree/master/notebooks/tests) showing how to use the functionality from PySyft\n- [ ] an integration test in PySyft demonstrating the correct CPU operation implemented over an IntTensor while connected to a Unity backend\n- [ ] a Unit Test in OpenMined/OpenMined demonstrating the correct operation on a FloatTensor\n- [ ] [inline](http://pytorch.org/docs/master/tensors.html) documentation in the python code. For inspiration on inline documentation, please check out PyTorch's documentation for this operator.\n- [ ] Link your Pull Request back to this Issue so that it gets closed appropriately when the PR is merged."},"comment":{"url":"https://api.github.com/repos/OpenMined/PySyft/issues/comments/364911205","html_url":"https://github.com/OpenMined/PySyft/issues/1251#issuecomment-364911205","issue_url":"https://api.github.com/repos/OpenMined/PySyft/issues/1251","id":364911205,"user":{"login":"aneesh-joshi","id":14147383,"avatar_url":"https://avatars2.githubusercontent.com/u/14147383?v=4","gravatar_id":"","url":"https://api.github.com/users/aneesh-joshi","html_url":"https://github.com/aneesh-joshi","followers_url":"https://api.github.com/users/aneesh-joshi/followers","following_url":"https://api.github.com/users/aneesh-joshi/following{/other_user}","gists_url":"https://api.github.com/users/aneesh-joshi/gists{/gist_id}","starred_url":"https://api.github.com/users/aneesh-joshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneesh-joshi/subscriptions","organizations_url":"https://api.github.com/users/aneesh-joshi/orgs","repos_url":"https://api.github.com/users/aneesh-joshi/repos","events_url":"https://api.github.com/users/aneesh-joshi/events{/privacy}","received_events_url":"https://api.github.com/users/aneesh-joshi/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T12:39:10Z","updated_at":"2018-02-12T12:39:10Z","author_association":"CONTRIBUTOR","body":"Hey, @alberduris , I'm taking this up."}}
{"actor":{"display_login":"aneesh-joshi"}}