publiczna statyczna klasa końcowa 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
Metody publiczne
Konstruktor wartości atr | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Wartość atr | zbudować () |
Wartość atr | |
Konstruktor wartości atr | jasne () |
Konstruktor wartości atr | jasneB () "bool" bool b = 5; |
Konstruktor wartości atr | jasneF () "float" float f = 4; |
Konstruktor wartości atr | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
Konstruktor wartości atr | wyczyść Funkcję () "func" represents a function. |
Konstruktor wartości atr | jasneJa () "int" int64 i = 3; |
Konstruktor wartości atr | wyczyść listę () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
Konstruktor wartości atr | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Konstruktor wartości atr | wyczyśćZbiornik zastępczy () This is a placeholder only used in nodes defined inside a function. |
Konstruktor wartości atr | jasneS () "string" bytes s = 2; |
Konstruktor wartości atr | przezroczystyKształt () "shape" .tensorflow.TensorShapeProto shape = 7; |
Konstruktor wartości atr | wyczyśćTensor () "tensor" .tensorflow.TensorProto tensor = 8; |
Konstruktor wartości atr | wyczyść typ () "type" .tensorflow.DataType type = 6; |
Konstruktor wartości atr | |
Konstruktor wartości atr | klon () |
wartość logiczna | dostaćB () "bool" bool b = 5; |
Wartość atr | |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
platforma | getF () "float" float f = 4; |
NazwaAttrLista | getFunc () "func" represents a function. |
NazwaAttrList.Builder | getFuncBuilder () "func" represents a function. |
NazwaAttrListOrBuilder | getFuncOrBuilder () "func" represents a function. |
długi | dostać () "int" int64 i = 3; |
Wartość atr.ListValue | pobierz listę () 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; |
Smyczkowy | pobierz symbol zastępczy () 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 | dostaje () "string" bytes s = 2; |
TensorShapeProto | uzyskaj kształt () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProto.Builder | pobierzShapeBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorShapeProtoOrBuilder | getShapeOrBuilder () "shape" .tensorflow.TensorShapeProto shape = 7; |
TensorProto | pobierz Tensor () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProto.Builder | pobierzTensorBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
TensorProtoOrBuilder | getTensorOrBuilder () "tensor" .tensorflow.TensorProto tensor = 8; |
Typ danych | pobierzTyp () "type" .tensorflow.DataType type = 6; |
wew | getTypeValue () "type" .tensorflow.DataType type = 6; |
AttrValue.ValueCase | getValueCase () |
wartość logiczna | maFunkcję () "func" represents a function. |
wartość logiczna | maLista () any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
wartość logiczna | ma kształt () "shape" .tensorflow.TensorShapeProto shape = 7; |
wartość logiczna | maTensor () "tensor" .tensorflow.TensorProto tensor = 8; |
końcowa wartość logiczna | |
Konstruktor wartości atr | mergeFrom (com.google.protobuf.Wiadomość inna) |
Konstruktor wartości atr | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
Konstruktor wartości atr | |
Konstruktor wartości atr | |
Konstruktor wartości atr | |
Konstruktor wartości atr | |
końcowy AttrValue.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Konstruktor wartości atr | setB (wartość logiczna) "bool" bool b = 5; |
Konstruktor wartości atr | setF (wartość zmiennoprzecinkowa) "float" float f = 4; |
Konstruktor wartości atr | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
Konstruktor wartości atr | |
Konstruktor wartości atr | |
Konstruktor wartości atr | setI (długa wartość) "int" int64 i = 3; |
Konstruktor wartości atr | |
Konstruktor wartości atr | setList ( AttrValue.ListValue.Builder builderForValue) any "list(...)" .tensorflow.AttrValue.ListValue list = 1; |
Konstruktor wartości atr | setPlaceholder (wartość ciągu) This is a placeholder only used in nodes defined inside a function. |
Konstruktor wartości atr | setPlaceholderBytes (wartość com.google.protobuf.ByteString) This is a placeholder only used in nodes defined inside a function. |
Konstruktor wartości atr | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
Konstruktor wartości atr | setS (wartość com.google.protobuf.ByteString) "string" bytes s = 2; |
Konstruktor wartości atr | |
Konstruktor wartości atr | setShape ( TensorShapeProto.Builder builderForValue) "shape" .tensorflow.TensorShapeProto shape = 7; |
Konstruktor wartości atr | |
Konstruktor wartości atr | |
Konstruktor wartości atr | |
Konstruktor wartości atr | setTypeValue (wartość int) "type" .tensorflow.DataType type = 6; |
końcowy AttrValue.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public AttrValue.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
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 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;
publiczna wartość logiczna getB ()
"bool"
bool b = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
publiczny float 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;
publiczny długi getI ()
"int"
int64 i = 3;
public AttrValue.ListValue.Builder getListBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.ListValueOrBuilder getListOrBuilder ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
publiczny ciąg 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;
publiczny com.google.protobuf.ByteString getS ()
"string"
bytes s = 2;
publiczny TensorShapeProto.Builder getShapeBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
publiczny TensorShapeProtoOrBuilder getShapeOrBuilder ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
publiczny int getTypeValue ()
"type"
.tensorflow.DataType type = 6;
publiczna wartość logiczna 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;
publiczna wartość logiczna hasList ()
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
publiczna wartość logiczna hasShape ()
"shape"
.tensorflow.TensorShapeProto shape = 7;
publiczna wartość logiczna hasTensor ()
"tensor"
.tensorflow.TensorProto tensor = 8;
publiczna końcowa wartość logiczna isInitialized ()
public AttrValue.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
Wyjątek IO |
---|
public AttrValue.Builder mergeFunc (wartość 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 (wartość AttrValue.ListValue )
any "list(...)"
.tensorflow.AttrValue.ListValue list = 1;
public AttrValue.Builder mergeShape (wartość TensorShapeProto )
"shape"
.tensorflow.TensorShapeProto shape = 7;
public AttrValue.Builder mergeTensor (wartość TensorProto )
"tensor"
.tensorflow.TensorProto tensor = 8;
publiczny końcowy AttrValue.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public AttrValue.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
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 (wartość 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 setList (wartość 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 (wartość ciągu)
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 (wartość 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 (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
public AttrValue.Builder setShape (wartość 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 (wartość TensorProto )
"tensor"
.tensorflow.TensorProto tensor = 8;