{"action":"created","issue":{"url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/206","repository_url":"https://api.github.com/repos/nyanp/tiny-cnn","labels_url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/206/comments","events_url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/206/events","html_url":"https://github.com/nyanp/tiny-cnn/pull/206","id":162367817,"number":206,"title":"Quantization for tiny-cnn","user":{"login":"Wangyida","id":6743242,"avatar_url":"https://avatars.githubusercontent.com/u/6743242?v=3","gravatar_id":"","url":"https://api.github.com/users/Wangyida","html_url":"https://github.com/Wangyida","followers_url":"https://api.github.com/users/Wangyida/followers","following_url":"https://api.github.com/users/Wangyida/following{/other_user}","gists_url":"https://api.github.com/users/Wangyida/gists{/gist_id}","starred_url":"https://api.github.com/users/Wangyida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wangyida/subscriptions","organizations_url":"https://api.github.com/users/Wangyida/orgs","repos_url":"https://api.github.com/users/Wangyida/repos","events_url":"https://api.github.com/users/Wangyida/events{/privacy}","received_events_url":"https://api.github.com/users/Wangyida/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":33,"created_at":"2016-06-27T03:27:07Z","updated_at":"2016-07-18T15:54:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nyanp/tiny-cnn/pulls/206","html_url":"https://github.com/nyanp/tiny-cnn/pull/206","diff_url":"https://github.com/nyanp/tiny-cnn/pull/206.diff","patch_url":"https://github.com/nyanp/tiny-cnn/pull/206.patch"},"body":"## Task list:\r\n- [x] Basic functions and pass the tests on core quantization utilities.\r\n- [x] Quantized convolution layer and pass the tests for q_conv.\r\n- [x] Quantized deconvolution layer and pass the tests for q_deconv.\r\n- [x] Quantized fully connected layer and pass the tests for q_fully_connected.\r\n- [x] Quantized bias inside other kernels.\r\n- [x] Ensure acceptable accuracy on typical examples.\r\n- [x] Add low precision gemm from Google TF as a kernel for matmul.\r\n- [x] Resolve unnecessary quantize-dequantize procedure.\r\n- [x] Add backward propagation for quantization.\r\n \r\n## Method:\r\nThe method is totally the same as described in [Pete's blog for quantization](https://petewarden.com/2016/05/03/how-to-quantize-neural-networks-with-tensorflow/) and my basic codes are modified from [TensorFlow quantization module](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/quantization)."},"comment":{"url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/comments/233371799","html_url":"https://github.com/nyanp/tiny-cnn/pull/206#issuecomment-233371799","issue_url":"https://api.github.com/repos/nyanp/tiny-cnn/issues/206","id":233371799,"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},"created_at":"2016-07-18T15:54:44Z","updated_at":"2016-07-18T15:54:44Z","body":"@Wangyida nope, from graph branch.\r\nThere are huge modifications in master.\r\n\r\nI think it's better let @nyanp rebase master from graph."}}
{"actor":{"display_login":"edgarriba"}}