tensorflow:: ops:: Rint

#include <math_ops.h>

xに最も近い要素ごとの整数を返します。

まとめ

結果が2つの表現可能な値の中間にある場合、偶数表現可能な値が選択されます。例:

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.]

議論:

返品:

コンストラクターとデストラクタ

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

公開属性

operation
y

公的機能

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

公開属性

手術

Operation operation

y

::tensorflow::Output y

公的機能

リント

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

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const