Interface ApiDef.AttrOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
ApiDef.Attr, ApiDef.Attr.Builder
- Enclosing class:
ApiDef
-
Method Summary
Modifier and TypeMethodDescriptionSpecify a new default value to use for this attr.Specify a new default value to use for this attr.Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.getName()string name = 1;string name = 1;Change the name used to access this attr in the API from what is used in the GraphDef.Change the name used to access this attr in the API from what is used in the GraphDef.booleanSpecify a new default value to use for this attr.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getName
-
getNameBytes
-
getRenameTo
String getRenameTo()Change the name used to access this attr in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;- Returns:
- The renameTo.
-
getRenameToBytes
ByteString getRenameToBytes()Change the name used to access this attr in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;- Returns:
- The bytes for renameTo.
-
hasDefaultValue
boolean hasDefaultValue()Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
AttrValue getDefaultValue()Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;- Returns:
- The defaultValue.
-
getDefaultValueOrBuilder
AttrValueOrBuilder getDefaultValueOrBuilder()Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3; -
getDescription
String getDescription()Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;- Returns:
- The description.
-
getDescriptionBytes
ByteString getDescriptionBytes()Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;- Returns:
- The bytes for description.
-