tensor akışı:: işlem:: hayal

#include <math_ops.h>

Karmaşık bir sayının sanal kısmını döndürür.

Özet

Karmaşık sayıların tensör input göz önüne alındığında, bu işlem, input içindeki her öğenin sanal kısmı olan float türünde bir tensör döndürür. input tüm öğeler \(a + bj\)biçiminde karmaşık sayılar olmalıdır; burada a , bu işlem tarafından döndürülen gerçek kısım ve b , sanal kısımdır.

Örneğin:

# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j]
tf.imag(input) ==> [4.75, 5.75]

Argümanlar:

İ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

Kamu işlevleri

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Genel statik işlevler

Tout (DataType x)

Yapılar

tensorflow:: ops:: Resim:: Öznitelikler

Imag için isteğe bağlı nitelik ayarlayıcılar.

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamu işlevleri

hayal

 Imag(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

hayal

 Imag(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const Imag::Attrs & attrs
)

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

Tout

Attrs Tout(
  DataType x
)