tensorflow::ops::Réel

#include <math_ops.h>

Renvoie la partie réelle d'un nombre complexe.

Résumé

Given a tensor input of complex numbers, this operation returns a tensor of type float that is the real part of each element in input . All elements in input must be complex numbers of the form \(a + bj\), où a est la partie réelle renvoyée par cette opération et b est la partie imaginaire.

Par exemple:

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

Arguments :

  • portée : un objet Scope

Retours :

  • Output : Le tenseur de sortie.

Constructeurs et destructeurs

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

attributs publics

operation
output

fonctions publiques

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

fonctions statiques publiques

Tout (DataType x)

Structures

tensorflow::ops::Réel::Attributs

Définiteurs d'attributs optionnels pour Real .

attributs publics

opération

Operation operation

sortir

::tensorflow::Output output

fonctions publiques

Réel

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

Réel

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

nœud

::tensorflow::Node * node() const 

opérateur::tensorflow::Entrée

 operator::tensorflow::Input() const 

opérateur::tensorflow::Sortie

 operator::tensorflow::Output() const 

fonctions statiques publiques

Tout

Attrs Tout(
  DataType x
)