tensorflow:: ops:: CheckNumerics

#include <array_ops.h>

Sprawdza tensor pod kątem wartości NaN i Inf.

Streszczenie

Po uruchomieniu zgłasza błąd InvalidArgument , jeśli tensor ma wartości inne niż liczba (NaN) lub nieskończoność (Inf). W przeciwnym razie tensor jest przekazywany bez zmian.

Argumenty:

  • zakres: obiekt zakresu
  • komunikat: Prefiks komunikatu o błędzie.

Zwroty:

Konstruktory i destruktory

CheckNumerics (const :: tensorflow::Scope & scope, :: tensorflow::Input tensor, StringPiece message)

Atrybuty publiczne

operation
output

Funkcje publiczne

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

Atrybuty publiczne

działanie

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

Sprawdź numery

 CheckNumerics(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor,
  StringPiece message
)

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const