ApiDef.Attr

public static final class ApiDef.Attr

 Description of the graph-construction-time configuration of this
 Op.  That is to say, this describes the attr fields that will
 be specified in the NodeDef.
 
Protobuf type tensorflow.ApiDef.Attr

Nested Classes

class ApiDef.Attr.Builder
 Description of the graph-construction-time configuration of this
 Op. 

Constants

int DEFAULT_VALUE_FIELD_NUMBER
int DESCRIPTION_FIELD_NUMBER
int NAME_FIELD_NUMBER
int RENAME_TO_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
static ApiDef.Attr
ApiDef.Attr
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.
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.
final static com.google.protobuf.Descriptors.Descriptor
String
getName ()
string name = 1;
com.google.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.
com.google.protobuf.ByteString
getRenameToBytes ()
 Change the name used to access this attr in the API from what
 is used in the GraphDef.
int
final com.google.protobuf.UnknownFieldSet
boolean
hasDefaultValue ()
 Specify a new default value to use for this attr.
int
final boolean
static ApiDef.Attr.Builder
static ApiDef.Attr.Builder
ApiDef.Attr.Builder
static ApiDef.Attr
parseDelimitedFrom (InputStream input)
static ApiDef.Attr
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Attr
parseFrom (ByteBuffer data)
static ApiDef.Attr
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Attr
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Attr
parseFrom (com.google.protobuf.CodedInputStream input)
static ApiDef.Attr
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Attr
parseFrom (com.google.protobuf.ByteString data)
static ApiDef.Attr
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ApiDef.Attr
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
ApiDef.Attr.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DEFAULT_VALUE_FIELD_NUMBER

Constant Value: 3

public static final int DESCRIPTION_FIELD_NUMBER

Constant Value: 4

public static final int NAME_FIELD_NUMBER

Constant Value: 1

public static final int RENAME_TO_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public static ApiDef.Attr getDefaultInstance ()

public ApiDef.Attr getDefaultInstanceForType ()

public 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;

public 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;

public 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;

public 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;

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 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;

public 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;

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public 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;

public int hashCode ()

public final boolean isInitialized ()

public static ApiDef.Attr.Builder newBuilder ( ApiDef.Attr prototype)

public static ApiDef.Attr.Builder newBuilder ()

public ApiDef.Attr.Builder newBuilderForType ()

public static ApiDef.Attr parseDelimitedFrom (InputStream input)

Throws
IOException

public static ApiDef.Attr parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ApiDef.Attr parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException