コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::一時変数::属性
#include <state_ops.h>
TemporaryVariableのオプションの属性セッター。
まとめ
公共機能 |
---|
VarName (StringPiece x) | 一時変数リソースに使用される名前をオーバーライドします。 |
パブリック属性
var_name_
StringPiece tensorflow::ops::TemporaryVariable::Attrs::var_name_ = ""
公共機能
変数名
TF_MUST_USE_RESULT Attrs tensorflow::ops::TemporaryVariable::Attrs::VarName(
StringPiece x
)
一時変数リソースに使用される名前をオーバーライドします。
デフォルト値は、「 TemporaryVariable 」操作の名前です (一意であることが保証されています)。
デフォルトは「」です
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-27 UTC。
[null,null,["最終更新日 2025-07-27 UTC。"],[],[],null,["# tensorflow::ops::TemporaryVariable::Attrs Struct Reference\n\ntensorflow::ops::TemporaryVariable::Attrs\n=========================================\n\n`#include \u003cstate_ops.h\u003e`\n\nOptional attribute setters for [TemporaryVariable](/versions/r2.3/api_docs/cc/class/tensorflow/ops/temporary-variable#classtensorflow_1_1ops_1_1_temporary_variable).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------|---------------|\n| [var_name_](#structtensorflow_1_1ops_1_1_temporary_variable_1_1_attrs_1a17b29306c0f954fbc1c53da0e1b484d2)` = \"\"` | `StringPiece` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [VarName](#structtensorflow_1_1ops_1_1_temporary_variable_1_1_attrs_1ac88edaa4690953d0fa26f874e536a4a3)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/temporary-variable/attrs#structtensorflow_1_1ops_1_1_temporary_variable_1_1_attrs) Overrides the name used for the temporary variable resource. |\n\nPublic attributes\n-----------------\n\n### var_name_\n\n```gdscript\nStringPiece tensorflow::ops::TemporaryVariable::Attrs::var_name_ = \"\"\n``` \n\nPublic functions\n----------------\n\n### VarName\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::TemporaryVariable::Attrs::VarName(\n StringPiece x\n)\n``` \nOverrides the name used for the temporary variable resource.\n\nDefault value is the name of the '[TemporaryVariable](/versions/r2.3/api_docs/cc/class/tensorflow/ops/temporary-variable#classtensorflow_1_1ops_1_1_temporary_variable)' op (which is guaranteed unique).\n\nDefaults to \"\""]]