FunctionDef.ArgAttrsOrBuilder
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
שיטות ציבוריות
תקציר ציבורי בוליאני מכילAttr (מפתח מחרוזת)
map<string, .tensorflow.AttrValue> attr = 1;
תקציר ציבורי מפה<String, AttrValue > getAttr ()
תקציר ציבורי int getAttrCount ()
map<string, .tensorflow.AttrValue> attr = 1;
מפה תקציר ציבורי<String, AttrValue > getAttrMap ()
map<string, .tensorflow.AttrValue> attr = 1;
תקציר ציבורי AttrValue getAttrOrDefault (מפתח מחרוזת, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 1;
תקציר ציבורי AttrValue getAttrOrThrow (מפתח מחרוזת)
map<string, .tensorflow.AttrValue> attr = 1;
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 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;`"]]