FunctionDef.ArgAttrsOrBuilder
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Sous-classes indirectes connues |
Méthodes publiques
public abstract boolean containAttr (clé de chaîne)
map<string, .tensorflow.AttrValue> attr = 1;
public abstrait Map<String, AttrValue > getAttr ()
public abstrait int getAttrCount ()
map<string, .tensorflow.AttrValue> attr = 1;
public abstrait Map<String, AttrValue > getAttrMap ()
map<string, .tensorflow.AttrValue> attr = 1;
public abstract AttrValue getAttrOrDefault (clé de chaîne, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 1;
public abstrait AttrValue getAttrOrThrow (clé de chaîne)
map<string, .tensorflow.AttrValue> attr = 1;
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/27 (UTC).
[null,null,["Dernière mise à jour le 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;`"]]