{"action":"closed","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/14606","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/14606/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/14606/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/14606/events","html_url":"https://github.com/tensorflow/tensorflow/issues/14606","id":274379540,"node_id":"MDU6SXNzdWUyNzQzNzk1NDA=","number":14606,"title":"Converting unsupported operation: Dequantize","user":{"login":"gxdalu-yaya","id":32263274,"node_id":"MDQ6VXNlcjMyMjYzMjc0","avatar_url":"https://avatars0.githubusercontent.com/u/32263274?v=4","gravatar_id":"","url":"https://api.github.com/users/gxdalu-yaya","html_url":"https://github.com/gxdalu-yaya","followers_url":"https://api.github.com/users/gxdalu-yaya/followers","following_url":"https://api.github.com/users/gxdalu-yaya/following{/other_user}","gists_url":"https://api.github.com/users/gxdalu-yaya/gists{/gist_id}","starred_url":"https://api.github.com/users/gxdalu-yaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gxdalu-yaya/subscriptions","organizations_url":"https://api.github.com/users/gxdalu-yaya/orgs","repos_url":"https://api.github.com/users/gxdalu-yaya/repos","events_url":"https://api.github.com/users/gxdalu-yaya/events{/privacy}","received_events_url":"https://api.github.com/users/gxdalu-yaya/received_events","type":"User","site_admin":false},"labels":[{"id":750616506,"node_id":"MDU6TGFiZWw3NTA2MTY1MDY=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/comp:lite","name":"comp:lite","color":"e99695","default":false},{"id":473173272,"node_id":"MDU6TGFiZWw0NzMxNzMyNzI=","url":"https://api.github.com/repos/tensorflow/tensorflow/labels/type:feature","name":"type:feature","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":{"login":"andrehentz","id":25754898,"node_id":"MDQ6VXNlcjI1NzU0ODk4","avatar_url":"https://avatars3.githubusercontent.com/u/25754898?v=4","gravatar_id":"","url":"https://api.github.com/users/andrehentz","html_url":"https://github.com/andrehentz","followers_url":"https://api.github.com/users/andrehentz/followers","following_url":"https://api.github.com/users/andrehentz/following{/other_user}","gists_url":"https://api.github.com/users/andrehentz/gists{/gist_id}","starred_url":"https://api.github.com/users/andrehentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrehentz/subscriptions","organizations_url":"https://api.github.com/users/andrehentz/orgs","repos_url":"https://api.github.com/users/andrehentz/repos","events_url":"https://api.github.com/users/andrehentz/events{/privacy}","received_events_url":"https://api.github.com/users/andrehentz/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrehentz","id":25754898,"node_id":"MDQ6VXNlcjI1NzU0ODk4","avatar_url":"https://avatars3.githubusercontent.com/u/25754898?v=4","gravatar_id":"","url":"https://api.github.com/users/andrehentz","html_url":"https://github.com/andrehentz","followers_url":"https://api.github.com/users/andrehentz/followers","following_url":"https://api.github.com/users/andrehentz/following{/other_user}","gists_url":"https://api.github.com/users/andrehentz/gists{/gist_id}","starred_url":"https://api.github.com/users/andrehentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrehentz/subscriptions","organizations_url":"https://api.github.com/users/andrehentz/orgs","repos_url":"https://api.github.com/users/andrehentz/repos","events_url":"https://api.github.com/users/andrehentz/events{/privacy}","received_events_url":"https://api.github.com/users/andrehentz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":21,"created_at":"2017-11-16T03:06:08Z","updated_at":"2018-06-12T15:19:03Z","closed_at":"2018-06-12T15:19:03Z","author_association":"NONE","body":"\r\n------------------------\r\n\r\n### System information\r\n- **Have I written custom code (as opposed to using a stock example script provided in TensorFlow)**: N\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**: centos 7\r\n- **TensorFlow installed from (source or binary)**: source\r\n- **TensorFlow version (use command below)**: 1.4.0\r\n- **Python version**:  2.7\r\n- **Bazel version (if compiling from source)**: 0.5.4\r\n- **GCC/Compiler version (if compiling from source)**: 4.8.5\r\n- **CUDA/cuDNN version**:\r\n- **GPU model and memory**:\r\n- **Exact command to reproduce**:\r\n\r\n### Describe the problem\r\nI use the command:\r\nbazel-bin/tensorflow/contrib/lite/toco/toco '--input_file=/home/guoxiang/workspace/tensorflow/sms_model/optimized_sms.pb' '--input_format=TENSORFLOW_GRAPHDEF' '--output_format=TFLITE' '--output_file=/home/guoxiang/workspace/tensorflow/sms_model/sms_char_cnn.lite' '--inference_type=QUANTIZED_UINT8' '--input_type=QUANTIZED_UINT8' '--input_arrays=embedding_matrix' '--output_arrays=final_scores' '--input_shapes=1,5000,64,1' --logtostderr '--v=2'\r\n\r\nto convert a quantized model to a  lite model, got the following error:\r\nUnimplemented: this graph contains an operator of type (Unsupported TensorFlow op: Dequantize) for which the quantized form is not yet implemented. Sorry, and patches welcome (that's a relatively fun patch to write, mostly providing the actual quantized arithmetic code for this op).\r\n\r\nso , now qutianzed model is still not supported ?\r\n"}}
{"actor":{"display_login":"andrehentz"}}