publiczna statyczna klasa końcowa OpDef.ArgDef.Builder
For describing inputs and outputs.Protobuf typu
tensorflow.OpDef.ArgDef
Metody publiczne
OpDef.ArgDef.Builder | addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
OpDef.ArgDef | zbudować () |
OpDef.ArgDef | |
OpDef.ArgDef.Builder | jasne () |
OpDef.ArgDef.Builder | jasneOpis () Human readable description. |
OpDef.ArgDef.Builder | clearField (pole com.google.protobuf.Descriptors.FieldDescriptor) |
OpDef.ArgDef.Builder | clearIsRef () For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | wyczyśćNazwa () Name for the input/output. |
OpDef.ArgDef.Builder | wyczyśćNumberAttr () if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.ArgDef.Builder | wyczyść typ () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.Builder | clearTypeAttr () if specified, attr must have type "type" string type_attr = 4; |
Konstruktor OpDef.ArgDef | clearTypeListAttr () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
Konstruktor OpDef.ArgDef | klon () |
OpDef.ArgDef | |
Smyczkowy | pobierz opis () Human readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human readable description. |
końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
wartość logiczna | getIsRef () For inputs: if true, the inputs are required to be refs. |
Smyczkowy | pobierz nazwę () Name for the input/output. |
com.google.protobuf.ByteString | getNameBytes () Name for the input/output. |
Smyczkowy | getNumberAttr () if specified, attr must have type "int" string number_attr = 5; |
com.google.protobuf.ByteString | getNumberAttrBytes () if specified, attr must have type "int" string number_attr = 5; |
Typ danych | pobierzTyp () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Smyczkowy | getTypeAttr () if specified, attr must have type "type" string type_attr = 4; |
com.google.protobuf.ByteString | getTypeAttrBytes () if specified, attr must have type "type" string type_attr = 4; |
Smyczkowy | getTypeListAttr () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
com.google.protobuf.ByteString | getTypeListAttrBytes () If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
wew | getTypeValue () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
końcowa wartość logiczna | |
Konstruktor OpDef.ArgDef | mergeFrom (com.google.protobuf.Wiadomość inna) |
Konstruktor OpDef.ArgDef | mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
końcowy OpDef.ArgDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
OpDef.ArgDef.Builder | setDescription (wartość ciągu) Human readable description. |
Konstruktor OpDef.ArgDef | setDescriptionBytes (wartość com.google.protobuf.ByteString) Human readable description. |
OpDef.ArgDef.Builder | setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu) |
OpDef.ArgDef.Builder | setIsRef (wartość logiczna) For inputs: if true, the inputs are required to be refs. |
OpDef.ArgDef.Builder | setName (wartość ciągu) Name for the input/output. |
OpDef.ArgDef.Builder | setNameBytes (wartość com.google.protobuf.ByteString) Name for the input/output. |
OpDef.ArgDef.Builder | setNumberAttr (wartość ciągu) if specified, attr must have type "int" string number_attr = 5; |
OpDef.ArgDef.Builder | setNumberAttrBytes (wartość com.google.protobuf.ByteString) if specified, attr must have type "int" string number_attr = 5; |
Konstruktor OpDef.ArgDef | setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu) |
Konstruktor OpDef.ArgDef | setType (wartość typu danych ) Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
OpDef.ArgDef.Builder | setTypeAttr (wartość ciągu) if specified, attr must have type "type" string type_attr = 4; |
Konstruktor OpDef.ArgDef | setTypeAttrBytes (wartość com.google.protobuf.ByteString) if specified, attr must have type "type" string type_attr = 4; |
Konstruktor OpDef.ArgDef | setTypeListAttr (wartość ciągu) If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
Konstruktor OpDef.ArgDef | setTypeListAttrBytes (wartość com.google.protobuf.ByteString) If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified. |
Konstruktor OpDef.ArgDef | setTypeValue (wartość int) Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
końcowy OpDef.ArgDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldUstaw nieznane pola) |
Metody dziedziczone
Metody publiczne
public OpDef.ArgDef.Builder addRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
publiczny OpDef.ArgDef.Builder clearIsRef ()
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
publiczny OpDef.ArgDef.Builder clearName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public OpDef.ArgDef.Builder clearNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
publiczny OpDef.ArgDef.Builder clearType ()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
publiczny OpDef.ArgDef.Builder clearTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
publiczny OpDef.ArgDef.Builder clearTypeListAttr ()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
public String getDescription ()
Human readable description.
string description = 2;
public com.google.protobuf.ByteString getDescriptionBytes ()
Human readable description.
string description = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publiczny com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
publiczna wartość logiczna getIsRef ()
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
public String getName ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public com.google.protobuf.ByteString getNameBytes ()
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
publiczny ciąg getNumberAttr ()
if specified, attr must have type "int"
string number_attr = 5;
public com.google.protobuf.ByteString getNumberAttrBytes ()
if specified, attr must have type "int"
string number_attr = 5;
publiczny typ danych getType ()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
publiczny ciąg getTypeAttr ()
if specified, attr must have type "type"
string type_attr = 4;
public com.google.protobuf.ByteString getTypeAttrBytes ()
if specified, attr must have type "type"
string type_attr = 4;
publiczny ciąg getTypeListAttr ()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
public com.google.protobuf.ByteString getTypeListAttrBytes ()
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
publiczny int getTypeValue ()
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
publiczna końcowa wartość logiczna isInitialized ()
publiczne OpDef.ArgDef.Builder mergeFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
Wyjątek IO |
---|
publiczny końcowy OpDef.ArgDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
public OpDef.ArgDef.Builder setDescription (wartość ciągu)
Human readable description.
string description = 2;
public OpDef.ArgDef.Builder setDescriptionBytes (wartość com.google.protobuf.ByteString)
Human readable description.
string description = 2;
public OpDef.ArgDef.Builder setField (pole com.google.protobuf.Descriptors.FieldDescriptor, wartość obiektu)
public OpDef.ArgDef.Builder setIsRef (wartość logiczna)
For inputs: if true, the inputs are required to be refs. By default, inputs can be either refs or non-refs. For outputs: if true, outputs are refs, otherwise they are not.
bool is_ref = 16;
public OpDef.ArgDef.Builder setName (wartość ciągu)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public OpDef.ArgDef.Builder setNameBytes (wartość com.google.protobuf.ByteString)
Name for the input/output. Should match the regexp "[a-z][a-z0-9_]*".
string name = 1;
public OpDef.ArgDef.Builder setNumberAttr (wartość ciągu)
if specified, attr must have type "int"
string number_attr = 5;
public OpDef.ArgDef.Builder setNumberAttrBytes (wartość com.google.protobuf.ByteString)
if specified, attr must have type "int"
string number_attr = 5;
public OpDef.ArgDef.Builder setRepeatedField (pole com.google.protobuf.Descriptors.FieldDescriptor, indeks int, wartość obiektu)
public OpDef.ArgDef.Builder setType (wartość typu danych )
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;
public OpDef.ArgDef.Builder setTypeAttr (wartość ciągu)
if specified, attr must have type "type"
string type_attr = 4;
public OpDef.ArgDef.Builder setTypeAttrBytes (wartość com.google.protobuf.ByteString)
if specified, attr must have type "type"
string type_attr = 4;
public OpDef.ArgDef.Builder setTypeListAttr (wartość ciągu)
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
public OpDef.ArgDef.Builder setTypeListAttrBytes (wartość com.google.protobuf.ByteString)
If specified, attr must have type "list(type)", and none of type, type_attr, and number_attr may be specified.
string type_list_attr = 6;
public OpDef.ArgDef.Builder setTypeValue (wartość int)
Describes the type of one or more tensors that are accepted/produced by this input/output arg. The only legal combinations are: * For a single tensor: either the "type" field is set or the "type_attr" field is set to the name of an attr with type "type". * For a sequence of tensors with the same type: the "number_attr" field will be set to the name of an attr with type "int", and either the "type" or "type_attr" field will be set as for single tensors. * For a sequence of tensors, the "type_list_attr" field will be set to the name of an attr with type "list(type)".
.tensorflow.DataType type = 3;