public static final class
NameAttrList.Builder
A list of attr names and their values. The whole list is attached with a string name. E.g., MatMul[T=float].
tensorflow.NameAttrList
Public Methods
NameAttrList.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
NameAttrList |
build()
|
NameAttrList | |
NameAttrList.Builder |
clear()
|
NameAttrList.Builder | |
NameAttrList.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
NameAttrList.Builder |
clearName()
string name = 1;
|
NameAttrList.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
NameAttrList.Builder |
clone()
|
boolean |
containsAttr(String key)
map<string, .tensorflow.AttrValue> attr = 2;
|
Map<String, AttrValue> |
getAttr()
Use
getAttrMap() instead. |
int |
getAttrCount()
map<string, .tensorflow.AttrValue> attr = 2;
|
Map<String, AttrValue> |
getAttrMap()
map<string, .tensorflow.AttrValue> attr = 2;
|
AttrValue | |
AttrValue |
getAttrOrThrow(String key)
map<string, .tensorflow.AttrValue> attr = 2;
|
NameAttrList | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<String, AttrValue> |
getMutableAttr()
Use alternate mutation accessors instead.
|
String |
getName()
string name = 1;
|
com.google.protobuf.ByteString |
getNameBytes()
string name = 1;
|
final boolean | |
NameAttrList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
NameAttrList.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final NameAttrList.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
NameAttrList.Builder | |
NameAttrList.Builder | |
NameAttrList.Builder |
removeAttr(String key)
map<string, .tensorflow.AttrValue> attr = 2;
|
NameAttrList.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
NameAttrList.Builder |
setName(String value)
string name = 1;
|
NameAttrList.Builder |
setNameBytes(com.google.protobuf.ByteString value)
string name = 1;
|
NameAttrList.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final NameAttrList.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public NameAttrList.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public boolean containsAttr (String key)
map<string, .tensorflow.AttrValue> attr = 2;
public int getAttrCount ()
map<string, .tensorflow.AttrValue> attr = 2;
public AttrValue getAttrOrDefault (String key, AttrValue defaultValue)
map<string, .tensorflow.AttrValue> attr = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getName ()
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
string name = 1;
public final boolean isInitialized ()
public NameAttrList.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final NameAttrList.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public NameAttrList.Builder putAllAttr (Map<String, AttrValue> values)
map<string, .tensorflow.AttrValue> attr = 2;
public NameAttrList.Builder putAttr (String key, AttrValue value)
map<string, .tensorflow.AttrValue> attr = 2;