public static interface ApiDef.AttrOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
AttrValue |
getDefaultValue()
Specify a new default value to use for this attr.
|
AttrValueOrBuilder |
getDefaultValueOrBuilder()
Specify a new default value to use for this attr.
|
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.
|
org.nd4j.shade.protobuf.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 |
getName()
string name = 1; |
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
string name = 1; |
String |
getRenameTo()
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
org.nd4j.shade.protobuf.ByteString |
getRenameToBytes()
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
boolean |
hasDefaultValue()
Specify a new default value to use for this attr.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getName()
string name = 1;
org.nd4j.shade.protobuf.ByteString getNameBytes()
string name = 1;
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;
org.nd4j.shade.protobuf.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;
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;
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;
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;
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;
org.nd4j.shade.protobuf.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;
Copyright © 2020. All rights reserved.