public final class
NameAttrList
A list of attr names and their values. The whole list is attached with a string name. E.g., MatMul[T=float].Protobuf type
tensorflow.NameAttrList
Nested Classes
class | NameAttrList.Builder | A list of attr names and their values. |
Constants
int | ATTR_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER |
Public Methods
boolean |
containsAttr(String key)
map<string, .tensorflow.AttrValue> attr = 2;
|
boolean |
equals(Object obj)
|
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;
|
static NameAttrList | |
NameAttrList | |
final static com.google.protobuf.Descriptors.Descriptor | |
String |
getName()
string name = 1;
|
com.google.protobuf.ByteString |
getNameBytes()
string name = 1;
|
|
|
int | |
final com.google.protobuf.UnknownFieldSet | |
int |
hashCode()
|
final boolean | |
static NameAttrList.Builder |
newBuilder(NameAttrList prototype)
|
static NameAttrList.Builder | |
NameAttrList.Builder | |
static NameAttrList |
parseDelimitedFrom(InputStream input)
|
static NameAttrList |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static NameAttrList |
parseFrom(ByteBuffer data)
|
static NameAttrList |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static NameAttrList |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static NameAttrList |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static NameAttrList |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static NameAttrList |
parseFrom(com.google.protobuf.ByteString data)
|
static NameAttrList |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static NameAttrList |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
NameAttrList.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int ATTR_FIELD_NUMBER
Constant Value:
2
public static final int NAME_FIELD_NUMBER
Constant Value:
1
Public Methods
public boolean containsAttr (String key)
map<string, .tensorflow.AttrValue> attr = 2;
public boolean equals (Object obj)
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 String getName ()
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
string name = 1;
public
getParserForType
()
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static NameAttrList parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static NameAttrList parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static NameAttrList parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static NameAttrList parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static NameAttrList parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static NameAttrList parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static NameAttrList parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static NameAttrList parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|