Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::TemporaryVariable::Attrs
#include <state_ops.h>
Optional attribute setters for TemporaryVariable.
Summary
Public functions
|
VarName(StringPiece x)
|
Overrides the name used for the temporary variable resource.
|
Public attributes
var_name_
StringPiece tensorflow::ops::TemporaryVariable::Attrs::var_name_ = ""
Public functions
VarName
TF_MUST_USE_RESULT Attrs tensorflow::ops::TemporaryVariable::Attrs::VarName(
StringPiece x
)
Overrides the name used for the temporary variable resource.
Default value is the name of the 'TemporaryVariable' op (which is guaranteed unique).
Defaults to ""
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 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.14/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.14/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.14/api_docs/cc/class/tensorflow/ops/temporary-variable#classtensorflow_1_1ops_1_1_temporary_variable)' op (which is guaranteed unique).\n\nDefaults to \"\""]]