tensorflow:: ops:: Round
#include <math_ops.h>テンソルの値を要素ごとに最も近い整数に丸めます。
まとめ
半分を偶数に丸めます。銀行丸めとも呼ばれます。現在のシステム丸めモードに従って丸めたい場合は、std::cint を使用してください。
議論:
- スコープ:スコープオブジェクト
返品:
-
Output:yテンソル。
コンストラクターとデストラクタ | |
|---|---|
Round (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
公的機能
ラウンド
Round( 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