Commit 0858a91d authored by Codrut's avatar Codrut
Browse files

Fix docs for tf.tanh, tf.sigmoid and tf.tan.

The API docs incorrectly state that tf.tanh accepts int32
or int64 inputs. This was referenced in issue #10376, however,
the fix to #10376 only removed the reference to qint32. A look
at the implementation in cwise_op_tanh.cc shows that int32 and
int64 are indeed not supported. This fix removes them from
the API.

Similarly, we remove int32, int64 and qint32 from tf.sigmoid
API.

Finally, tf.tan is defined only for float and double, so I
changed in math_ops.cc to use UNARY_REAL.
parent d2d42ee8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment