TensorFlow數(shù)學(xué)函數(shù):tf.sin函數(shù)

2018-01-24 10:25 更新

tf.sin 函數(shù)

sin(
    x,
    name=None
)

請參閱指南:數(shù)學(xué)函數(shù)>基本數(shù)學(xué)函數(shù)

計算x元素的正弦.

函數(shù)參數(shù)

  • x:一個Tensor.必須是下列類型之一:half,float32,float64,complex64,complex128.
  • name:操作的名稱(可選).

函數(shù)返回

tf.sin函數(shù)返回一個Tensor,與x有相同的類型.

以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號