ApiDef.AttrOrBuilder

public static interface ApiDef.AttrOrBuilder
Known Indirect Subclasses

Public Methods

abstract AttrValue
getDefaultValue()
 Specify a new default value to use for this attr.
abstract AttrValueOrBuilder
getDefaultValueOrBuilder()
 Specify a new default value to use for this attr.
abstract 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.
abstract 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.
abstract String
getName()
string name = 1;
abstract com.google.protobuf.ByteString
getNameBytes()
string name = 1;
abstract String
getRenameTo()
 Change the name used to access this attr in the API from what
 is used in the GraphDef.
abstract com.google.protobuf.ByteString
getRenameToBytes()
 Change the name used to access this attr in the API from what
 is used in the GraphDef.
abstract boolean
hasDefaultValue()
 Specify a new default value to use for this attr.

Public Methods

public abstract 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 abstract 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 abstract 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 abstract 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 abstract String getName ()

string name = 1;

public abstract com.google.protobuf.ByteString getNameBytes ()

string name = 1;

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