Using tanh

In TensorFlow, the signature tf.tanh(x, name=None) computes a hyperbolic tangent of x element-wise and returns a tensor with the same type x. Here is the parameter description:

  • x: A tensor or sparse. This is a tensor with type float, double, int32, complex64, int64, or qint32.
  • name: A name for the operation (optional).
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset