tensorflow :: ops :: Imag
#include <math_ops.h>
Karmaşık bir sayının sanal kısmını döndürür.
Özet
Karmaşık sayıların bir tensör input
verildiğinde, bu işlem, input
her öğenin sanal parçası olan float
türünde bir tensör döndürür. Tüm elemanlar input
gerçek bir parçası ve b, bu işlem tarafından döndürülen sanal parça olan form \(a + bj\), kompleks sayı olmalıdır.
Örneğin:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.imag(input) ==> [4.75, 5.75]
Argümanlar:
- kapsam: Bir Scope nesnesi
İadeler:
-
Output
: Çıkış tensörü.
Yapıcılar ve Yıkıcılar | |
---|---|
Imag (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Imag (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Imag::Attrs & attrs) |
Genel özellikler | |
---|---|
operation | |
output |
Kamusal işlevler | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Genel statik işlevler | |
---|---|
Tout (DataType x) |
Yapılar | |
---|---|
tensorflow :: ops :: Imag :: Attrs | Imag için isteğe bağlı öznitelik belirleyiciler. |
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamusal işlevler
Imag
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
Imag
Imag( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Imag::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operator :: tensorflow :: Girdi
operator::tensorflow::Input() const
operator :: tensorflow :: Çıktı
operator::tensorflow::Output() const
Genel statik işlevler
Tout
Attrs Tout( DataType x )