阅读(68) (1)

TensorFlow函数:tf.tan

2018-03-28 10:53:20 更新

tf.tan函数

tf.tan(
    x,
    name=None
)

请参阅指南:数学函数>基础数学函数

计算 x 元素的 tan 值.

函数参数:

  • x:一个 Tensor,必须是下列类型之一:half,bfloat16,float32,float64,int32,int64,complex64,complex128.
  • name:操作的名称(可选).

函数返回值:

tf.tan函数返回一个 Tensor,它与 x 具有相同的类型.