OpDef.AttrDefOrBuilder

antarmuka statis publik OpDef.AttrDefOrBuilder
Subkelas Tidak Langsung yang Diketahui

Metode Publik

Nilai AttrValue abstrak
dapatkan Nilai yang Diizinkan ()
 The set of allowed values.
abstrak AttrValueOrBuilder
dapatkanAllowedValuesOrBuilder ()
 The set of allowed values.
Nilai AttrValue abstrak
dapatkan Nilai Default ()
 A reasonable default for this attribute if the user does not supply
 a value.
abstrak AttrValueOrBuilder
dapatkanDefaultValueOrBuilder ()
 A reasonable default for this attribute if the user does not supply
 a value.
Tali abstrak
dapatkanDeskripsi ()
 Human-readable description.
abstrak com.google.protobuf.ByteString
dapatkanDeskripsiBytes ()
 Human-readable description.
boolean abstrak
dapatkan HasMinimum ()
 For type == "int", this is a minimum value.
abstrak panjang
dapatkan Minimum ()
int64 minimum = 6;
Tali abstrak
dapatkan Nama ()
 A descriptive name for the argument.
abstrak com.google.protobuf.ByteString
dapatkanNamaBytes ()
 A descriptive name for the argument.
Tali abstrak
dapatkan Tipe ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
abstrak com.google.protobuf.ByteString
dapatkanTypeBytes ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
boolean abstrak
hasAllowedValues ​​()
 The set of allowed values.
boolean abstrak
memilikiDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.

Metode Publik

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

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

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

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

abstrak publik String getDescription ()

 Human-readable description.
 
string description = 4;

abstrak publik com.google.protobuf.ByteString getDescriptionBytes ()

 Human-readable description.
 
string description = 4;

boolean abstrak publik getHasMinimum ()

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

abstrak publik getMinimum panjang ()

int64 minimum = 6;

abstrak publik String 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;

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

abstrak publik String getType ()

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

abstrak publik com.google.protobuf.ByteString getTypeBytes ()

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

boolean abstrak publik 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;

boolean abstrak publik 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;