FunctionDef.ArgAttrsOrBuilder
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.
Các lớp con gián tiếp đã biết |
Phương pháp công cộng
trừu tượng boolean | chứaAttr (Khóa chuỗi) map<string, .tensorflow.AttrValue> attr = 1; |
Bản đồ trừu tượng<String, AttrValue > | |
int trừu tượng | getAttrCount () map<string, .tensorflow.AttrValue> attr = 1; |
Bản đồ trừu tượng<String, AttrValue > | getAttrMap () map<string, .tensorflow.AttrValue> attr = 1; |
trừu tượng AttrValue | |
trừu tượng AttrValue | getAttrOrThrow (Khóa chuỗi) map<string, .tensorflow.AttrValue> attr = 1; |
Phương pháp công cộng
boolean trừu tượng công khai chứaAttr (Khóa chuỗi)
map<string, .tensorflow.AttrValue> attr = 1;
Bản đồ trừu tượng công khai<String, AttrValue > getAttr ()
tóm tắt công khai int getAttrCount ()
map<string, .tensorflow.AttrValue> attr = 1;
Bản đồ trừu tượng công khai<String, AttrValue > getAttrMap ()
map<string, .tensorflow.AttrValue> attr = 1;
tóm tắt công khai AttrValue getAttrOrDefault (Khóa chuỗi, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 1;
tóm tắt công khai AttrValue getAttrOrThrow (Khóa chuỗi)
map<string, .tensorflow.AttrValue> attr = 1;
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,["# FunctionDef.ArgAttrsOrBuilder\n\npublic static interface **FunctionDef.ArgAttrsOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [FunctionDef.ArgAttrs](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrs), [FunctionDef.ArgAttrs.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrs.Builder) |----------------------------------------------------------------------------------------------------------------|---------------------------------------------| | [FunctionDef.ArgAttrs](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrs) | ``` Attributes for function arguments. ``` | | [FunctionDef.ArgAttrs.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrs.Builder) | ``` Attributes for function arguments. ``` | |||\n\n### Public Methods\n\n|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract boolean | [containsAttr](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrsOrBuilder#containsAttr(java.lang.String))(String key) `map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;` |\n| abstract Map\\\u003cString, [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue)\\\u003e | [getAttr](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrsOrBuilder#getAttr())() Use [getAttrMap()](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrsOrBuilder#getAttrMap()) instead. |\n| abstract int | [getAttrCount](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrsOrBuilder#getAttrCount())() `map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;` |\n| abstract Map\\\u003cString, [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue)\\\u003e | [getAttrMap](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrsOrBuilder#getAttrMap())() `map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;` |\n| abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue) | [getAttrOrDefault](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrsOrBuilder#getAttrOrDefault(java.lang.String, org.tensorflow.proto.framework.AttrValue))(String key, [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue) defaultValue) `map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;` |\n| abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue) | [getAttrOrThrow](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrsOrBuilder#getAttrOrThrow(java.lang.String))(String key) `map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;` |\n\nPublic Methods\n--------------\n\n#### public abstract boolean\n**containsAttr**\n(String key)\n\n`map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;` \n\n#### public abstract Map\\\u003cString, [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue)\\\u003e\n**getAttr**\n()\n\nUse [getAttrMap()](/jvm/api_docs/java/org/tensorflow/proto/framework/FunctionDef.ArgAttrsOrBuilder#getAttrMap()) instead. \n\n#### public abstract int\n**getAttrCount**\n()\n\n`map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;` \n\n#### public abstract Map\\\u003cString, [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue)\\\u003e\n**getAttrMap**\n()\n\n`map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;` \n\n#### public abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue)\n**getAttrOrDefault**\n(String key, [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue) defaultValue)\n\n`map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;` \n\n#### public abstract [AttrValue](/jvm/api_docs/java/org/tensorflow/proto/framework/AttrValue)\n**getAttrOrThrow**\n(String key)\n\n`map\u003cstring, .tensorflow.AttrValue\u003e attr = 1;`"]]