AttrValue.Builder

کلاس نهایی استاتیک عمومی AttrValue.Builder

 Protocol buffer representing the value for an attr used to configure an Op.
 Comment indicates the corresponding attr type.  Only the field matching the
 attr type may be filled.
 
نوع Protobuf tensorflow.AttrValue

روش های عمومی

AttrValue.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
AttrValue
AttrValue
AttrValue.Builder
AttrValue.Builder
clearB ()
 "bool"
 
bool b = 5;
AttrValue.Builder
clearF ()
 "float"
 
float f = 4;
AttrValue.Builder
clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor)
AttrValue.Builder
clearFunc ()
 "func" represents a function.
AttrValue.Builder
واضح من ()
 "int"
 
int64 i = 3;
AttrValue.Builder
فهرست روشن ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
AttrValue.Builder
clearPlaceholder ()
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
clearS ()
 "string"
 
bytes s = 2;
AttrValue.Builder
شفاف ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
clearTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
clearType ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder
AttrValue.Builder
بولی
getB ()
 "bool"
 
bool b = 5;
AttrValue
نهایی static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
شناور
getF ()
 "float"
 
float f = 4;
NameAttrList
getFunc ()
 "func" represents a function.
NameAttrList.Builder
getFuncBuilder ()
 "func" represents a function.
NameAttrListOrBuilder
getFuncOrBuilder ()
 "func" represents a function.
طولانی
دریافت من ()
 "int"
 
int64 i = 3;
AttrValue.ListValue
getList ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ListValue.Builder
getListBuilder ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.ListValueOrBuilder
getListOrBuilder ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
رشته
getPlaceholder ()
 This is a placeholder only used in nodes defined inside a
 function.
com.google.protobuf.ByteString
getPlaceholderBytes ()
 This is a placeholder only used in nodes defined inside a
 function.
com.google.protobuf.ByteString
getS ()
 "string"
 
bytes s = 2;
TensorShapeProto
getShape ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProto.Builder
getShapeBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorShapeProtoOrBuilder
getShapeOrBuilder ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
TensorProto
getTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProto.Builder
getTensorBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
TensorProtoOrBuilder
getTensorOrBuilder ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
نوع داده
getType ()
 "type"
 
.tensorflow.DataType type = 6;
بین المللی
getTypeValue ()
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.ValueCase
بولی
hasFunc ()
 "func" represents a function.
بولی
hasList ()
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
بولی
hasShape ()
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
بولی
hasTensor ()
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
بولی نهایی
AttrValue.Builder
mergeFrom (com.google.protobuf.Message other)
AttrValue.Builder
mergeFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AttrValue.Builder
mergeFunc (مقدار NameAttrList )
 "func" represents a function.
AttrValue.Builder
mergeList (مقدار AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
mergeShape (مقدار TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
mergeTensor (مقدار TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder نهایی
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
AttrValue.Builder
setB (مقدار بولی)
 "bool"
 
bool b = 5;
AttrValue.Builder
setF (مقدار شناور)
 "float"
 
float f = 4;
AttrValue.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)
AttrValue.Builder
setFunc ( NameAttrList.Builder builderForValue)
 "func" represents a function.
AttrValue.Builder
setFunc (مقدار NameAttrList )
 "func" represents a function.
AttrValue.Builder
setI (مقدار طولانی)
 "int"
 
int64 i = 3;
AttrValue.Builder
setList (مقدار AttrValue.ListValue )
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
setList ( AttrValue.ListValue.Builder builderForValue)
 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;
AttrValue.Builder
setPlaceholder (مقدار رشته)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
setPlaceholderBytes (com.google.protobuf.ByteString مقدار)
 This is a placeholder only used in nodes defined inside a
 function.
AttrValue.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object)
AttrValue.Builder
setS (مقدار com.google.protobuf.ByteString)
 "string"
 
bytes s = 2;
AttrValue.Builder
setShape (مقدار TensorShapeProto )
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setShape ( TensorShapeProto.Builder builderForValue)
 "shape"
 
.tensorflow.TensorShapeProto shape = 7;
AttrValue.Builder
setTensor ( TensorProto.Builder builderForValue)
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setTensor (مقدار TensorProto )
 "tensor"
 
.tensorflow.TensorProto tensor = 8;
AttrValue.Builder
setType (مقدار DataType )
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder
setTypeValue (مقدار int)
 "type"
 
.tensorflow.DataType type = 6;
AttrValue.Builder نهایی
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

روش های ارثی

روش های عمومی

عمومی AttrValue.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)

ساخت عمومی AttrValue ()

عمومی AttrValue buildPartial ()

عمومی AttrValue.Builder clear ()

عمومی AttrValue.Builder clearB ()

 "bool"
 
bool b = 5;

عمومی AttrValue.Builder clearF ()

 "float"
 
float f = 4;

عمومی AttrValue.Builder clearField (فیلد com.google.protobuf.Descriptors.FieldDescriptor)

عمومی AttrValue.Builder clearFunc ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

عمومی AttrValue.Builder clearI ()

 "int"
 
int64 i = 3;

عمومی AttrValue.Builder clearList ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

عمومی AttrValue.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

عمومی AttrValue.Builder clearPlaceholder ()

 This is a placeholder only used in nodes defined inside a
 function.  It indicates the attr value will be supplied when
 the function is instantiated.  For example, let us suppose a
 node "N" in function "FN". "N" has an attr "A" with value
 placeholder = "foo". When FN is instantiated with attr "foo"
 set to "bar", the instantiated node N's attr A will have been
 given the value "bar".
 
string placeholder = 9;

عمومی AttrValue.Builder clearS ()

 "string"
 
bytes s = 2;

عمومی AttrValue.Builder clearShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

عمومی AttrValue.Builder clearTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

عمومی AttrValue.Builder clearType ()

 "type"
 
.tensorflow.DataType type = 6;

عمومی AttrValue.Builder clearValue ()

کلون عمومی AttrValue.Builder ()

getB بولی عمومی ()

 "bool"
 
bool b = 5;

عمومی AttrValue getDefaultInstanceForType ()

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

عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

عمومی float getF ()

 "float"
 
float f = 4;

عمومی NameAttrList getFunc ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

عمومی NameAttrList.Builder getFuncBuilder ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

عمومی NameAttrListOrBuilder getFuncOrBuilder ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

دریافت طولانی مدت عمومی ()

 "int"
 
int64 i = 3;

عمومی AttrValue.ListValue getList ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

عمومی AttrValue.ListValue.Builder getListBuilder ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

عمومی AttrValue.ListValueOrBuilder getListOrBuilder ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

رشته عمومی getPlaceholder ()

 This is a placeholder only used in nodes defined inside a
 function.  It indicates the attr value will be supplied when
 the function is instantiated.  For example, let us suppose a
 node "N" in function "FN". "N" has an attr "A" with value
 placeholder = "foo". When FN is instantiated with attr "foo"
 set to "bar", the instantiated node N's attr A will have been
 given the value "bar".
 
string placeholder = 9;

عمومی com.google.protobuf.ByteString getPlaceholderBytes ()

 This is a placeholder only used in nodes defined inside a
 function.  It indicates the attr value will be supplied when
 the function is instantiated.  For example, let us suppose a
 node "N" in function "FN". "N" has an attr "A" with value
 placeholder = "foo". When FN is instantiated with attr "foo"
 set to "bar", the instantiated node N's attr A will have been
 given the value "bar".
 
string placeholder = 9;

عمومی com.google.protobuf.ByteString getS ()

 "string"
 
bytes s = 2;

عمومی TensorShapeProto getShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

عمومی TensorShapeProto.Builder getShapeBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

عمومی TensorShapeProtoOrBuilder getShapeOrBuilder ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

عمومی TensorProto getTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

عمومی TensorProto.Builder getTensorBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

عمومی TensorProtoOrBuilder getTensorOrBuilder ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

عمومی DataType getType ()

 "type"
 
.tensorflow.DataType type = 6;

عمومی int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

عمومی AttrValue.ValueCase getValueCase ()

hasFunc بولین عمومی ()

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

hasList بولی عمومی ()

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

hasShape بولین عمومی ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

hasTensor بولین عمومی ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

بولین نهایی عمومی isInitialized ()

عمومی AttrValue.Builder mergeFrom (com.google.protobuf.Message other)

عمومی AttrValue.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی AttrValue.Builder mergeFunc (مقدار NameAttrList )

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

عمومی AttrValue.Builder mergeList (مقدار AttrValue.ListValue )

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

عمومی AttrValue.Builder mergeShape (مقدار TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

عمومی AttrValue.Builder mergeTensor (مقدار TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

عمومی نهایی AttrValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

عمومی AttrValue.Builder setB (مقدار بولی)

 "bool"
 
bool b = 5;

عمومی AttrValue.Builder setF (مقدار شناور)

 "float"
 
float f = 4;

public AttrValue.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)

عمومی AttrValue.Builder setFunc ( NameAttrList.Builder builderForValue)

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

عمومی AttrValue.Builder setFunc (مقدار NameAttrList )

 "func" represents a function. func.name is a function's name or
 a primitive op's name. func.attr.first is the name of an attr
 defined for that function. func.attr.second is the value for
 that attr in the instantiation.
 
.tensorflow.NameAttrList func = 10;

عمومی AttrValue.Builder setI (مقدار طولانی)

 "int"
 
int64 i = 3;

عمومی AttrValue.Builder setList (مقدار AttrValue.ListValue )

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

عمومی AttrValue.Builder setList ( AttrValue.ListValue.Builder builderForValue)

 any "list(...)"
 
.tensorflow.AttrValue.ListValue list = 1;

عمومی AttrValue.Builder setPlaceholder (مقدار رشته)

 This is a placeholder only used in nodes defined inside a
 function.  It indicates the attr value will be supplied when
 the function is instantiated.  For example, let us suppose a
 node "N" in function "FN". "N" has an attr "A" with value
 placeholder = "foo". When FN is instantiated with attr "foo"
 set to "bar", the instantiated node N's attr A will have been
 given the value "bar".
 
string placeholder = 9;

عمومی AttrValue.Builder setPlaceholderBytes (مقدار com.google.protobuf.ByteString)

 This is a placeholder only used in nodes defined inside a
 function.  It indicates the attr value will be supplied when
 the function is instantiated.  For example, let us suppose a
 node "N" in function "FN". "N" has an attr "A" with value
 placeholder = "foo". When FN is instantiated with attr "foo"
 set to "bar", the instantiated node N's attr A will have been
 given the value "bar".
 
string placeholder = 9;

public AttrValue.Builder setRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor, int index, Object value)

عمومی AttrValue.Builder setS (com.google.protobuf.ByteString مقدار)

 "string"
 
bytes s = 2;

عمومی AttrValue.Builder setShape (مقدار TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

عمومی AttrValue.Builder setShape ( TensorShapeProto.Builder builderForValue)

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

عمومی AttrValue.Builder setTensor ( TensorProto.Builder builderForValue)

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

عمومی AttrValue.Builder setTensor (مقدار TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

عمومی AttrValue.Builder setType (مقدار DataType )

 "type"
 
.tensorflow.DataType type = 6;

عمومی AttrValue.Builder setTypeValue (مقدار int)

 "type"
 
.tensorflow.DataType type = 6;

عمومی نهایی AttrValue.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)