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.
 
tensorflow.AttrValue מסוג Protobuf.AttrValue

שיטות ציבוריות

AttrValue.Builder
addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
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
clearShape ()
 "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
final 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.
ארוך
getI ()
 "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;
int
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 אחר)
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;
final AttrValue.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
AttrValue.Builder
setB (ערך בוליאני)
 "bool"
 
bool b = 5;
AttrValue.Builder
setF (ערך צף)
 "float"
 
float f = 4;
AttrValue.Builder
setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
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, אינדקס אינט, ערך אובייקט)
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;
final AttrValue.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

שיטות בירושה

שיטות ציבוריות

public AttrValue.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

Public AttrValue build ()

public AttrValue buildPartial ()

public AttrValue.Builder clear ()

public AttrValue.Builder clearB ()

 "bool"
 
bool b = 5;

public AttrValue.Builder clearF ()

 "float"
 
float f = 4;

public AttrValue.Builder clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor)

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

public AttrValue.Builder clearI ()

 "int"
 
int64 i = 3;

public AttrValue.Builder clearList ()

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

public AttrValue.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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

public AttrValue.Builder clearS ()

 "string"
 
bytes s = 2;

public AttrValue.Builder clearShape ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder clearTensor ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public AttrValue.Builder clearType ()

 "type"
 
.tensorflow.DataType type = 6;

public AttrValue.Builder clearValue ()

שיבוט public AttrValue.Builder ()

getB בוליאני ציבורי ()

 "bool"
 
bool b = 5;

public AttrValue getDefaultInstanceForType ()

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

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

ציפה ציבורית getF ()

 "float"
 
float f = 4;

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

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

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

Public long getI ()

 "int"
 
int64 i = 3;

public AttrValue.ListValue getList ()

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

public AttrValue.ListValue.Builder getListBuilder ()

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

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

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

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

public DataType getType ()

 "type"
 
.tensorflow.DataType type = 6;

public int getTypeValue ()

 "type"
 
.tensorflow.DataType type = 6;

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

יש רשימה בוליאנית ציבורית ()

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

hasShape בוליאני ציבורי ()

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

יש Tensor בוליאני ציבורי ()

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

בוליאני הסופי הציבורי הוא אתחול ()

public AttrValue.Builder mergeFrom (com.google.protobuf.Message אחר)

public AttrValue.Builder mergeFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

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

public AttrValue.Builder mergeList (ערך AttrValue.ListValue )

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

public AttrValue.Builder mergeShape (ערך TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder mergeTensor (ערך TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public final AttrValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public AttrValue.Builder setB (ערך בוליאני)

 "bool"
 
bool b = 5;

public AttrValue.Builder setF (ערך צף)

 "float"
 
float f = 4;

public AttrValue.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

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

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

public AttrValue.Builder setI (ערך ארוך)

 "int"
 
int64 i = 3;

Public AttrValue.Builder setList (ערך AttrValue.ListValue )

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

Public AttrValue.Builder setList ( AttrValue.ListValue.Builder builderForValue)

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

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

public 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, ערך אובייקט)

Public AttrValue.Builder setS (ערך com.google.protobuf.ByteString)

 "string"
 
bytes s = 2;

public AttrValue.Builder setShape (ערך TensorShapeProto )

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder setShape ( TensorShapeProto.Builder builderForValue)

 "shape"
 
.tensorflow.TensorShapeProto shape = 7;

public AttrValue.Builder setTensor ( TensorProto.Builder builderForValue)

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public AttrValue.Builder setTensor (ערך TensorProto )

 "tensor"
 
.tensorflow.TensorProto tensor = 8;

public AttrValue.Builder setType (ערך DataType )

 "type"
 
.tensorflow.DataType type = 6;

public AttrValue.Builder setTypeValue (ערך int)

 "type"
 
.tensorflow.DataType type = 6;

public final AttrValue.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)