کلاس نهایی استاتیک عمومی 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.
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 | clearValue () |
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 | getValueCase () |
بولی | 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 | |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
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 | |
AttrValue.Builder | |
AttrValue.Builder | setI (مقدار طولانی) "int" int64 i = 3; |
AttrValue.Builder | |
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 | |
AttrValue.Builder | setShape ( TensorShapeProto.Builder builderForValue) "shape" .tensorflow.TensorShapeProto shape = 7; |
AttrValue.Builder | |
AttrValue.Builder | |
AttrValue.Builder | |
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.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 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;
getB بولی عمومی ()
"bool"
bool b = 5;
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.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;
عمومی TensorShapeProtoOrBuilder getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
عمومی int getTypeValue ()
"type"
.tensorflow.DataType type = 6;
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.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;
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 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 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;