• Computes hyperbolic cos of the input tf.Tensor element-wise: cosh(x)

    const x = tf.tensor1d([0, 1, -1, .7]);

    x.cosh().print(); // or tf.cosh(x)

    Type Parameters

    Parameters

    • x: TensorLike | T

      The input tensor. Must be float32 type.

    Returns T

    Doc

Generated using TypeDoc