OpDef.AttrDef

מחלקה סופית סטטית ציבורית OpDef.AttrDef

 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 tensorflow.OpDef.AttrDef

כיתות מקוננות

מַחלָקָה OpDef.AttrDef.Builder
 Description of the graph-construction-time configuration of this
 Op. 

קבועים

int ALLOWED_VALUES_FIELD_NUMBER
int DEFAULT_VALUE_FIELD_NUMBER
int DESCRIPTION_FIELD_NUMBER
int HAS_MINIMUM_FIELD_NUMBER
int MINIMUM_FIELD_NUMBER
int NAME_FIELD_NUMBER
int TYPE_FIELD_NUMBER

שיטות ציבוריות

בוליאני
שווה (Object obj)
AttrValue
getAllowedValues ​​()
 The set of allowed values.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
סטטי OpDef.AttrDef
OpDef.AttrDef
AttrValue
getDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
AttrValueOrBuilder
getDefaultValueOrBuilder ()
 A reasonable default for this attribute if the user does not supply
 a value.
חוּט
getDescription ()
 Human-readable description.
com.google.protobuf.ByteString
getDescriptionBytes ()
 Human-readable description.
final static com.google.protobuf.Descriptors.Descriptor
בוליאני
getHasMinimum ()
 For type == "int", this is a minimum value.
אָרוֹך
getMinimum ()
int64 minimum = 6;
חוּט
getName ()
 A descriptive name for the argument.
com.google.protobuf.ByteString
getNameBytes ()
 A descriptive name for the argument.
int
חוּט
getType ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
com.google.protobuf.ByteString
getTypeBytes ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
final com.google.protobuf.UnknownFieldSet
בוליאני
hasAllowedValues ​​()
 The set of allowed values.
בוליאני
hasDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
int
בוליאנית סופית
סטטי OpDef.AttrDef.Builder
newBuilder (אב-טיפוס OpDef.AttrDef )
סטטי OpDef.AttrDef.Builder
OpDef.AttrDef.Builder
סטטי OpDef.AttrDef
parseDelimitedFrom (קלט InputStream)
סטטי OpDef.AttrDef
parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef.AttrDef
parseFrom (נתוני ByteBuffer)
סטטי OpDef.AttrDef
parseFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef.AttrDef
parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef.AttrDef
parseFrom (קלט com.google.protobuf.CodedInputStream)
סטטי OpDef.AttrDef
parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef.AttrDef
parseFrom (נתוני com.google.protobuf.ByteString)
סטטי OpDef.AttrDef
parseFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטטי OpDef.AttrDef
parseFrom (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
סטָטִי
OpDef.AttrDef.Builder
בָּטֵל
writeTo (פלט com.google.protobuf.CodedOutputStream)

שיטות בירושה

קבועים

אינט סופי סטטי ציבורי ALLOWED_VALUES_FIELD_NUMBER

ערך קבוע: 7

אינט סופי סטטי ציבורי DEFAULT_VALUE_FIELD_NUMBER

ערך קבוע: 3

אינט סופי סטטי ציבורי DESCRIPTION_FIELD_NUMBER

ערך קבוע: 4

גמר סטטי ציבורי HAS_MINIMUM_FIELD_NUMBER

ערך קבוע: 5

גמר סטטי ציבורי MINIMUM_FIELD_NUMBER

ערך קבוע: 6

גמר סטטי ציבורי NAME_FIELD_NUMBER

ערך קבוע: 1

גמר סטטי ציבורי TYPE_FIELD_NUMBER

ערך קבוע: 2

שיטות ציבוריות

שווה ערך בוליאני ציבורי (Object obj)

public AttrValue getAllowedValues ​​()

 The set of allowed values.  Has type that is the "list" version
 of the "type" field above (uses the "list" field of AttrValue).
 If type == "type" or "list(type)" above, then the "type" field
 of "allowed_values.list" has the set of allowed DataTypes.
 If type == "string" or "list(string)", then the "s" field of
 "allowed_values.list" has the set of allowed strings.
 
.tensorflow.AttrValue allowed_values = 7;

public AttrValueOrBuilder getAllowedValuesOrBuilder ()

 The set of allowed values.  Has type that is the "list" version
 of the "type" field above (uses the "list" field of AttrValue).
 If type == "type" or "list(type)" above, then the "type" field
 of "allowed_values.list" has the set of allowed DataTypes.
 If type == "string" or "list(string)", then the "s" field of
 "allowed_values.list" has the set of allowed strings.
 
.tensorflow.AttrValue allowed_values = 7;

ציבורי סטטי OpDef.AttrDef getDefaultInstance ()

public OpDef.AttrDef getDefaultInstanceForType ()

public AttrValue getDefaultValue ()

 A reasonable default for this attribute if the user does not supply
 a value.  If not specified, the user must supply a value.
 
.tensorflow.AttrValue default_value = 3;

public AttrValueOrBuilder getDefaultValueOrBuilder ()

 A reasonable default for this attribute if the user does not supply
 a value.  If not specified, the user must supply a value.
 
.tensorflow.AttrValue default_value = 3;

מחרוזת ציבורית getDescription ()

 Human-readable description.
 
string description = 4;

public com.google.protobuf.ByteString getDescriptionBytes ()

 Human-readable description.
 
string description = 4;

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

getHasMinimum בוליאני ציבורי ()

 For type == "int", this is a minimum value.  For "list(___)"
 types, this is the minimum length.
 
bool has_minimum = 5;

Public long getMinimum ()

int64 minimum = 6;

מחרוזת ציבורית getName ()

 A descriptive name for the argument.  May be used, e.g. by the
 Python client, as a keyword argument name, and so should match
 the regexp "[a-z][a-z0-9_]+".
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 A descriptive name for the argument.  May be used, e.g. by the
 Python client, as a keyword argument name, and so should match
 the regexp "[a-z][a-z0-9_]+".
 
string name = 1;

פּוּמְבֵּי getParserForType ()

public int getSerializedSize ()

מחרוזת ציבורית getType ()

 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
 
string type = 2;

public com.google.protobuf.ByteString getTypeBytes ()

 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
 
string type = 2;

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

בוליאני ציבורי hasAllowedValues ​​()

 The set of allowed values.  Has type that is the "list" version
 of the "type" field above (uses the "list" field of AttrValue).
 If type == "type" or "list(type)" above, then the "type" field
 of "allowed_values.list" has the set of allowed DataTypes.
 If type == "string" or "list(string)", then the "s" field of
 "allowed_values.list" has the set of allowed strings.
 
.tensorflow.AttrValue allowed_values = 7;

בוליאני ציבורי hasDefaultValue ()

 A reasonable default for this attribute if the user does not supply
 a value.  If not specified, the user must supply a value.
 
.tensorflow.AttrValue default_value = 3;

public int hashCode ()

בוליאני הסופי הציבורי הוא אתחול ()

OpDef.AttrDef.Builder newBuilder סטטי ציבורי (אב-טיפוס OpDef.AttrDef )

סטטי ציבורי OpDef.AttrDef.Builder newBuilder ()

Public OpDef.AttrDef.Builder newBuilderForType ()

ציבורי סטטי OpDef.AttrDef parseDelimitedFrom (קלט InputStream)

זורק
IOException

ציבורי סטטי OpDef.AttrDef parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

OpDef.AttrDef parseFrom סטטי ציבורי (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

OpDef.AttrDef parseFrom סטטי ציבורי (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

OpDef.AttrDef parseFrom סטטי ציבורי (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

OpDef.AttrDef parseFrom סטטי ציבורי (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

Public static OpDef.AttrDef parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

OpDef.AttrDef parseFrom סטטי ציבורי (נתוני com.google.protobuf.ByteString)

זורק
InvalidProtocolBufferException

OpDef.AttrDef parseFrom סטטי ציבורי (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

OpDef.AttrDef parseFrom סטטי ציבורי (נתוני com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

סטטי ציבורי מנתח ()

הציבור OpDef.AttrDef.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException