tensorflow::ops::Real
#include <math_ops.h>Karmaşık bir sayının gerçek kısmını döndürür.
Özet
Verilen bir karmaşık sayı tensör input , bu işlem, input her elemanın gerçek kısmını temsil eden float türünde bir tensör döndürür. input tüm elemanlar, biçiminde karmaşık sayılar olmalıdır. \(a + bj\)Burada a , bu işlemden elde edilen gerçek kısmı, b ise sanal kısmı temsil etmektedir.
Örneğin:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.real(input) ==> [-2.25, 3.25]
Argümanlar:
- kapsam: Bir Kapsam nesnesi
İadeler:
-
Output: Çıktı tensörü.
Yapıcılar ve Yıkıcılar | |
|---|---|
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Real::Attrs & attrs) |
Genel özellikler | |
|---|---|
operation | |
output | |
Kamusal işlevler | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Herkese açık statik fonksiyonlar | |
|---|---|
Tout (DataType x) | |
Yapılar | |
|---|---|
| tensorflow::ops::Real::Attrs | Real için isteğe bağlı öznitelik ayarlayıcıları. |
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamusal işlevler
Gerçek
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
Gerçek
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Real::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Herkese açık statik fonksiyonlar
Tout
Attrs Tout( DataType x )