tensorflow:: ops:: GuaranteeConst
#include <array_ops.h>入力テンソルが定数であることをTFランタイムに保証します。
まとめ
ランタイムは、これに基づいて自由に最適化を行うことができる。
入力として値型のテンソルのみを受け入れ、リソース変数ハンドルは入力として拒否します。
入力テンソルをそのまま返します。
議論:
- スコープ:スコープオブジェクト
返品:
-
Output:出力テンソル。
コンストラクターとデストラクタ | |
|---|---|
GuaranteeConst (const :: tensorflow::Scope & scope, :: tensorflow::Input input) |
公開属性 | |
|---|---|
operation | |
output | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
公開属性
手術
Operation operation
出力
::tensorflow::Output output
公的機能
保証契約
GuaranteeConst( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const