Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensorflow :: ops :: Gerçek

#include <math_ops.h>

Karmaşık bir sayının gerçek kısmını verir.

Özet

Karmaşık sayıların bir tensör input verildiğinde, bu işlem, input her öğenin gerçek kısmı olan float türünde bir tensör döndürür. Tüm elemanlar input , bir bu işlem ve b tarafından döndürülen gerçek parçası sanal parça olduğu şeklinde \(a + bj\), kompleks sayı olmalıdır.

Örneğin:

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

Argümanlar:

  • kapsam: Bir Scope nesnesi

İadeler:

  • Output : Çıkış 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

Genel statik işlevler

Tout (DataType x)

Yapılar

tensorflow :: ops :: Real :: Attrs

Gerçek için isteğe bağlı öznitelik belirleyiciler.

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 

operator :: tensorflow :: Girdi

 operator::tensorflow::Input() const 

operator :: tensorflow :: Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

Tout

Attrs Tout(
  DataType x
)