OpDef.AttrDefOrBuilder

giao diện tĩnh công cộng OpDef.AttrDefOrBuilder
Các lớp con gián tiếp đã biết

Phương pháp công khai

trừu tượng AttrValue
getAllowedValues ​​()
 The set of allowed values.
trừu tượng AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
trừu tượng AttrValue
getDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
trừu tượng AttrValueOrBuilder
getDefaultValueOrBuilder ()
 A reasonable default for this attribute if the user does not supply
 a value.
chuỗi trừu tượng
getDescription ()
 Human-readable description.
tóm tắt com.google.protobuf.ByteString
getDescriptionBytes ()
 Human-readable description.
trừu tượng boolean
getHasMinimum ()
 For type == "int", this is a minimum value.
trừu tượng dài
lấyTối thiểu ()
int64 minimum = 6;
chuỗi trừu tượng
lấy Tên ()
 A descriptive name for the argument.
tóm tắt com.google.protobuf.ByteString
getNameBytes ()
 A descriptive name for the argument.
chuỗi trừu tượng
getType ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
tóm tắt com.google.protobuf.ByteString
getTypeBytes ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
trừu tượng boolean
hasAllowedValues ​​()
 The set of allowed values.
trừu tượng boolean
hasDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.

Phương pháp công khai

tóm tắt công khai 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;

tóm tắt công khai 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;

tóm tắt công khai 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;

tóm tắt công khai 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;

Chuỗi tóm tắt công khai getDescription ()

mô tả chuỗi

 Human-readable description.
 
string description = 4;

tóm tắt công khai com.google.protobuf.ByteString getDescriptionBytes ()

mô tả chuỗi

 Human-readable description.
 
string description = 4;

boolean trừu tượng công khai getHasMinimum ()

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

tóm tắt công khai dài getMinimum ()

int64 minimum = 6;

Chuỗi tóm tắt công khai 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;

tóm tắt công khai com.google.protobuf.ByteString getNameBytes ()

string name = 1;

 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_]+".
 
= 1;

Chuỗi trừu tượng công khai getType ()

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

tóm tắt công khai com.google.protobuf.ByteString getTypeBytes ()

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

boolean trừu tượng công khai 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 trừu tượng công khai 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;