Package org.platanios.tensorflow.proto
Interface ApiDef.AttrOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApiDef.Attr
,ApiDef.Attr.Builder
- Enclosing class:
- ApiDef
public static interface ApiDef.AttrOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.java.lang.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.com.google.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.java.lang.String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 1;
java.lang.String
getRenameTo()
Change the name used to access this attr in the API from what is used in the GraphDef.com.google.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 1;
- Returns:
- The bytes for name.
-
getRenameTo
java.lang.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
com.google.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;
- 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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.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.
.org.platanios.tensorflow.proto.AttrValue default_value = 3;
-
getDescription
java.lang.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
com.google.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;
- Returns:
- The bytes for description.
-
-