OpDef.AttrDef.Builder

lớp cuối cùng tĩnh công khai OpDef.AttrDef.Builder

 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.
 
Loại protobuf tensorflow.OpDef.AttrDef

Phương pháp công khai

OpDef.AttrDef.Builder
addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
OpDef.AttrDef
OpDef.AttrDef
OpDef.AttrDef.Builder
OpDef.AttrDef.Builder
ClearAllowedValues ​​()
 The set of allowed values.
OpDef.AttrDef.Builder
ClearDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
mô tả rõ ràng ()
 Human-readable description.
OpDef.AttrDef.Builder
ClearField (trường com.google.protobuf.Descriptors.FieldDescriptor)
OpDef.AttrDef.Builder
clearHasMinimum ()
 For type == "int", this is a minimum value.
OpDef.AttrDef.Builder
rõ ràngTối thiểu ()
int64 minimum = 6;
OpDef.AttrDef.Builder
ClearName ()
 A descriptive name for the argument.
OpDef.AttrDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
OpDef.AttrDef.Builder
ClearType ()
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder
Giá trị Attr
getAllowedValues ​​()
 The set of allowed values.
AttrValue.Builder
getAllowedValuesBuilder ()
 The set of allowed values.
AttrValueOrBuilder
getAllowedValuesOrBuilder ()
 The set of allowed values.
OpDef.AttrDef
Giá trị Attr
getDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
AttrValue.Builder
getDefaultValueBuilder ()
 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.
Sợi dây
getDescription ()
 Human-readable description.
com.google.protobuf.ByteString
getDescriptionBytes ()
 Human-readable description.
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
com.google.protobuf.Descriptors.Descriptor
boolean
getHasMinimum ()
 For type == "int", this is a minimum value.
dài
lấyTối thiểu ()
int64 minimum = 6;
Sợi dây
lấy Tên ()
 A descriptive name for the argument.
com.google.protobuf.ByteString
getNameBytes ()
 A descriptive name for the argument.
Sợi dây
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.).
boolean
hasAllowedValues ​​()
 The set of allowed values.
boolean
hasDefaultValue ()
 A reasonable default for this attribute if the user does not supply
 a value.
boolean cuối cùng
OpDef.AttrDef.Builder
mergeAllowedValues ​​(giá trị AttrValue )
 The set of allowed values.
OpDef.AttrDef.Builder
mergeDefaultValue (giá trị AttrValue )
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
mergeFrom (com.google.protobuf.Message other)
OpDef.AttrDef.Builder
mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
OpDef.AttrDef.Builder cuối cùng
hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
OpDef.AttrDef.Builder
setAllowedValues ​​( AttrValue.Builder builderForValue)
 The set of allowed values.
OpDef.AttrDef.Builder
setAllowedValues ​​(giá trị AttrValue )
 The set of allowed values.
OpDef.AttrDef.Builder
setDefaultValue (giá trị AttrValue )
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
setDefaultValue ( AttrValue.Builder builderForValue)
 A reasonable default for this attribute if the user does not supply
 a value.
OpDef.AttrDef.Builder
setDescription (Giá trị chuỗi)
 Human-readable description.
OpDef.AttrDef.Builder
setDescriptionBytes (giá trị com.google.protobuf.ByteString)
 Human-readable description.
OpDef.AttrDef.Builder
setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
OpDef.AttrDef.Builder
setHasMinimum (giá trị boolean)
 For type == "int", this is a minimum value.
OpDef.AttrDef.Builder
setMinimum (giá trị dài)
int64 minimum = 6;
OpDef.AttrDef.Builder
setName (Giá trị chuỗi)
 A descriptive name for the argument.
OpDef.AttrDef.Builder
setNameBytes (giá trị com.google.protobuf.ByteString)
 A descriptive name for the argument.
OpDef.AttrDef.Builder
setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
OpDef.AttrDef.Builder
setType (Giá trị chuỗi)
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder
setTypeBytes (giá trị com.google.protobuf.ByteString)
 One of the type names from attr_value.proto ("string", "list(string)",
 "int", etc.).
OpDef.AttrDef.Builder cuối cùng
setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

Phương pháp kế thừa

Phương pháp công khai

công khai OpDef.AttrDef.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

bản dựng OpDef.AttrDef công khai ()

công khai OpDef.AttrDef buildPartial ()

công khai OpDef.AttrDef.Builder rõ ràng ()

công khai OpDef.AttrDef.Builder clearAllowedValues ​​()

 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;

công khai OpDef.AttrDef.Builder clearDefaultValue ()

 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;

công khai OpDef.AttrDef.Builder clearDescription ()

mô tả chuỗi

 Human-readable description.
 
string description = 4;

công khai OpDef.AttrDef.Builder clearField (trường com.google.protobuf.Descriptors.FieldDescriptor)

công khai OpDef.AttrDef.Builder clearHasMinimum ()

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

công khai OpDef.AttrDef.Builder clearMinimum ()

int64 minimum = 6;

công khai OpDef.AttrDef.Builder clearName ()

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;

công khai OpDef.AttrDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

công khai OpDef.AttrDef.Builder clearType ()

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

bản sao OpDef.AttrDef.Builder công khai ()

AttrValue công khai 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;

công khai AttrValue.Builder getAllowedValuesBuilder ()

 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;

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;

công khai OpDef.AttrDef getDefaultInstanceForType ()

AttrValue công khai 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;

công khai AttrValue.Builder getDefaultValueBuilder ()

 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;

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 công khai getDescription ()

mô tả chuỗi

 Human-readable description.
 
string description = 4;

com.google.protobuf.ByteString getDescriptionBytes công khai ()

mô tả chuỗi

 Human-readable description.
 
string description = 4;

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()

boolean công khai getHasMinimum ()

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

công khai dài getMinimum ()

int64 minimum = 6;

Chuỗi công khai getName ()

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;

com.google.protobuf.ByteString getNameBytes công khai ()

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 công khai getType ()

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

com.google.protobuf.ByteString getTypeBytes công khai ()

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

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

boolean cuối cùng công khai được khởi tạo ()

công khai OpDef.AttrDef.Builder mergeAllowedValues ​​(giá trị AttrValue )

 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;

công khai OpDef.AttrDef.Builder mergeDefaultValue (giá trị AttrValue )

 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;

công khai OpDef.AttrDef.Builder mergeFrom (com.google.protobuf.Message other)

công khai OpDef.AttrDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

trận chung kết công khai OpDef.AttrDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)

công khai OpDef.AttrDef.Builder setAllowedValues ​​( AttrValue.Builder builderForValue)

 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;

công khai OpDef.AttrDef.Builder setAllowedValues ​​(giá trị AttrValue )

 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;

công khai OpDef.AttrDef.Builder setDefaultValue (giá trị AttrValue )

 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;

công khai OpDef.AttrDef.Builder setDefaultValue ( AttrValue.Builder builderForValue)

 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 OpDef.AttrDef.Builder setDescription (Giá trị chuỗi)

mô tả chuỗi

 Human-readable description.
 
string description = 4;

công khai OpDef.AttrDef.Builder setDescriptionBytes (giá trị com.google.protobuf.ByteString)

mô tả chuỗi

 Human-readable description.
 
string description = 4;

công khai OpDef.AttrDef.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)

public OpDef.AttrDef.Builder setHasMinimum (giá trị boolean)

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

public OpDef.AttrDef.Builder setMinimum (giá trị dài)

int64 minimum = 6;

public OpDef.AttrDef.Builder setName (Giá trị chuỗi)

 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;

công khai OpDef.AttrDef.Builder setNameBytes (giá trị com.google.protobuf.ByteString)

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;

công khai OpDef.AttrDef.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)

public OpDef.AttrDef.Builder setType (Giá trị chuỗi)

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

công khai OpDef.AttrDef.Builder setTypeBytes (giá trị com.google.protobuf.ByteString)

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

trận chung kết công khai OpDef.AttrDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)