{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/168","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/168/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/168/events","html_url":"https://github.com/tensorflow/tensorflow/issues/168","id":116494116,"number":168,"title":"tensor flow does not support operator.__truediv__","user":{"login":"Pakapark","id":15812322,"avatar_url":"https://avatars.githubusercontent.com/u/15812322?v=3","gravatar_id":"","url":"https://api.github.com/users/Pakapark","html_url":"https://github.com/Pakapark","followers_url":"https://api.github.com/users/Pakapark/followers","following_url":"https://api.github.com/users/Pakapark/following{/other_user}","gists_url":"https://api.github.com/users/Pakapark/gists{/gist_id}","starred_url":"https://api.github.com/users/Pakapark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pakapark/subscriptions","organizations_url":"https://api.github.com/users/Pakapark/orgs","repos_url":"https://api.github.com/users/Pakapark/repos","events_url":"https://api.github.com/users/Pakapark/events{/privacy}","received_events_url":"https://api.github.com/users/Pakapark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-12T07:16:59Z","updated_at":"2015-11-12T07:16:59Z","closed_at":null,"body":"tensorflow type does not support operation.__truediv__ as in the basic example in https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/g3doc/tutorials/word2vec/word2vec_basic.py\r\nIn line 153,  ' normalized_embeddings = embeddings / norm'  will cause the attribute error as followed\r\n\r\n\"AttributeError: type object 'Tensor' has no attribute '__truediv__\"\r\n\r\nTo solve the problem, we can replace this line as 'normalized_embeddings = tf.div(embeddings, norm)'\r\n\r\n "}}