przepływ tensorowy:: ops:: SprawdźNumery

#include <array_ops.h>

Sprawdza tensor dla wartości NaN i Inf.

Streszczenie

Po uruchomieniu zgłasza błąd InvalidArgument , jeśli tensor ma wartości, które nie są liczbą (NaN) ani nieskończonością (Inf). W przeciwnym razie przekazuje tensor w niezmienionej postaci.

Argumenty:

  • zakres: Obiekt Scope
  • Message: 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

operacja

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::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const