flux tensoriel : : opérations : : Compte Jusqu'à

#include <state_ops.h>

Incrémente « ref » jusqu'à ce qu'il atteigne « limite ».

Résumé

Arguments:

  • scope : un objet Scope
  • ref : doit provenir d'un nœud Variable scalaire.
  • limit : si l'incrémentation de ref l'amenait au-dessus de la limite, génère à la place une erreur « OutOfRange ».

Retour:

  • Output : Une copie de l'entrée avant l'incrément. Si rien d'autre ne modifie l'entrée, les valeurs produites seront toutes distinctes.

Constructeurs et Destructeurs

CountUpTo (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, int64 limit)

Attributs publics

operation
output

Fonctions publiques

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

Attributs publics

opération

Operation operation

sortir

::tensorflow::Output output

Fonctions publiques

Compte Jusqu'à

 CountUpTo(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  int64 limit
)

nœud

::tensorflow::Node * node() const 

opérateur :: tensorflow :: Entrée

 operator::tensorflow::Input() const 

opérateur :: tensorflow :: Sortie

 operator::tensorflow::Output() const