Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
dòng chảy căng:: ôi:: Biến tạm thời:: Attr
#include <state_ops.h>
Trình thiết lập thuộc tính tùy chọn cho TemporaryVariable .
Bản tóm tắt
Thuộc tính công khai |
---|
var_name_ = "" | StringPiece |
Chức năng công cộng |
---|
VarName (StringPiece x) | Ghi đè tên được sử dụng cho tài nguyên biến tạm thời. |
Thuộc tính công khai
var_name_
StringPiece tensorflow::ops::TemporaryVariable::Attrs::var_name_ = ""
Chức năng công cộng
Tên Var
TF_MUST_USE_RESULT Attrs tensorflow::ops::TemporaryVariable::Attrs::VarName(
StringPiece x
)
Ghi đè tên được sử dụng cho tài nguyên biến tạm thời.
Giá trị mặc định là tên của op ' TemporaryVariable ' (được đảm bảo là duy nhất).
Mặc định là ""
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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 \"\""]]