przepływ tensorowy:: ops:: Rint

#include <math_ops.h>

Zwraca elementarną liczbę całkowitą najbliższą x.

Streszczenie

Jeżeli wynik znajduje się pośrodku pomiędzy dwiema możliwymi do reprezentowania wartościami, wybierana jest parzysta reprezentowalna. Na przykład:

rint(-1.5) ==> -2.0
rint(0.5000001) ==> 1.0
rint([-1.7, -1.5, -0.2, 0.2, 1.5, 1.7, 2.0]) ==> [-2., -2., -0., 0., 2., 2., 2.]

Argumenty:

Zwroty:

Konstruktory i destruktory

Rint (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

Atrybuty publiczne

operation
y

Funkcje publiczne

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

Atrybuty publiczne

operacja

Operation operation

y

::tensorflow::Output y

Funkcje publiczne

Rint

 Rint(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Wejście

 operator::tensorflow::Input() const 

operator::tensorflow::Wyjście

 operator::tensorflow::Output() const