{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/13270","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/13270/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/13270/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/13270/events","html_url":"https://github.com/tensorflow/tensorflow/pull/13270","id":260075773,"number":13270,"title":"Fix docs for tf.tanh, tf.sigmoid and tf.tan.","user":{"login":"codrut3","id":10788581,"avatar_url":"https://avatars1.githubusercontent.com/u/10788581?v=4","gravatar_id":"","url":"https://api.github.com/users/codrut3","html_url":"https://github.com/codrut3","followers_url":"https://api.github.com/users/codrut3/followers","following_url":"https://api.github.com/users/codrut3/following{/other_user}","gists_url":"https://api.github.com/users/codrut3/gists{/gist_id}","starred_url":"https://api.github.com/users/codrut3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codrut3/subscriptions","organizations_url":"https://api.github.com/users/codrut3/orgs","repos_url":"https://api.github.com/users/codrut3/repos","events_url":"https://api.github.com/users/codrut3/events{/privacy}","received_events_url":"https://api.github.com/users/codrut3/received_events","type":"User","site_admin":false},"labels":[{"id":300136587,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/cla:%20yes","name":"cla: yes","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-24T11:00:26Z","updated_at":"2017-09-24T11:00:28Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/13270","html_url":"https://github.com/tensorflow/tensorflow/pull/13270","diff_url":"https://github.com/tensorflow/tensorflow/pull/13270.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/13270.patch"},"body":"The API docs incorrectly state that tf.tanh accepts int32\r\nor int64 inputs. This was referenced in issue #10376, however,\r\nthe fix to #10376 only removed the reference to qint32. A look\r\nat the implementation in cwise_op_tanh.cc shows that int32 and\r\nint64 are indeed not supported. This fix removes them from\r\nthe API docs.\r\n\r\nSimilarly, we remove int32, int64 and qint32 from tf.sigmoid\r\nAPI docs.\r\n\r\nFinally, tf.tan is defined only for float and double, so I\r\nchanged in math_ops.cc to use UNARY_REAL."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/331702362","html_url":"https://github.com/tensorflow/tensorflow/pull/13270#issuecomment-331702362","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/13270","id":331702362,"user":{"login":"tensorflow-jenkins","id":16359713,"avatar_url":"https://avatars0.githubusercontent.com/u/16359713?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorflow-jenkins","html_url":"https://github.com/tensorflow-jenkins","followers_url":"https://api.github.com/users/tensorflow-jenkins/followers","following_url":"https://api.github.com/users/tensorflow-jenkins/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow-jenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow-jenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow-jenkins/subscriptions","organizations_url":"https://api.github.com/users/tensorflow-jenkins/orgs","repos_url":"https://api.github.com/users/tensorflow-jenkins/repos","events_url":"https://api.github.com/users/tensorflow-jenkins/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow-jenkins/received_events","type":"User","site_admin":false},"created_at":"2017-09-24T11:00:28Z","updated_at":"2017-09-24T11:00:28Z","author_association":"COLLABORATOR","body":"Can one of the admins verify this patch?"}}
{"actor":{"display_login":"tensorflow-jenkins"}}