OpDef.ArgDef.Builder

общедоступный статический конечный класс OpDef.ArgDef.Builder

 For describing inputs and outputs.
 
Тип protobuf tensorflow.OpDef.ArgDef

Публичные методы

OpDef.ArgDef.Builder
addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
OpDef.ArgDef
OpDef.ArgDef
OpDef.ArgDef.Builder
OpDef.ArgDef.Builder
ОчиститьОписание ()
 Human readable description.
OpDef.ArgDef.Builder
ClearField (поле com.google.protobuf.Descriptors.FieldDescriptor)
OpDef.ArgDef.Builder
очиститьIsRef ()
 For inputs: if true, the inputs are required to be refs.
OpDef.ArgDef.Builder
ясное имя ()
 Name for the input/output.
OpDef.ArgDef.Builder
очиститьнумбераттр ()
 if specified, attr must have type "int"
 
string number_attr = 5;
OpDef.ArgDef.Builder
ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
OpDef.ArgDef.Builder
ОчиститьТип ()
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
OpDef.ArgDef.Builder
ОчиститьТипАттр ()
 if specified, attr must have type "type"
 
string type_attr = 4;
OpDef.ArgDef.Builder
ClearTypeListAttr ()
 If specified, attr must have type "list(type)", and none of
 type, type_attr, and number_attr may be specified.
OpDef.ArgDef.Builder
OpDef.ArgDef
Нить
получитьОписание ()
 Human readable description.
com.google.protobuf.ByteString
getDescriptionBytes ()
 Human readable description.
окончательный статический com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
логическое значение
getIsRef ()
 For inputs: if true, the inputs are required to be refs.
Нить
получитьИмя ()
 Name for the input/output.
com.google.protobuf.ByteString
getNameBytes ()
 Name for the input/output.
Нить
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;
Тип данных
ПолучитьТип ()
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
Нить
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;
Нить
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.
интервал
получитьТипЗначения ()
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
последнее логическое значение
OpDef.ArgDef.Builder
mergeFrom (com.google.protobuf.Message другое)
OpDef.ArgDef.Builder
mergeFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
окончательный OpDef.ArgDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
OpDef.ArgDef.Builder
setDescription (строковое значение)
 Human readable description.
OpDef.ArgDef.Builder
setDescriptionBytes (значение com.google.protobuf.ByteString)
 Human readable description.
OpDef.ArgDef.Builder
setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)
OpDef.ArgDef.Builder
setIsRef (логическое значение)
 For inputs: if true, the inputs are required to be refs.
OpDef.ArgDef.Builder
setName (строковое значение)
 Name for the input/output.
OpDef.ArgDef.Builder
setNameBytes (значение com.google.protobuf.ByteString)
 Name for the input/output.
OpDef.ArgDef.Builder
setNumberAttr (строковое значение)
 if specified, attr must have type "int"
 
string number_attr = 5;
OpDef.ArgDef.Builder
setNumberAttrBytes (значение com.google.protobuf.ByteString)
 if specified, attr must have type "int"
 
string number_attr = 5;
OpDef.ArgDef.Builder
setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)
OpDef.ArgDef.Builder
setType (значение типа данных )
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
OpDef.ArgDef.Builder
setTypeAttr (строковое значение)
 if specified, attr must have type "type"
 
string type_attr = 4;
OpDef.ArgDef.Builder
setTypeAttrBytes (значение com.google.protobuf.ByteString)
 if specified, attr must have type "type"
 
string type_attr = 4;
OpDef.ArgDef.Builder
setTypeListAttr (строковое значение)
 If specified, attr must have type "list(type)", and none of
 type, type_attr, and number_attr may be specified.
OpDef.ArgDef.Builder
setTypeListAttrBytes (значение com.google.protobuf.ByteString)
 If specified, attr must have type "list(type)", and none of
 type, type_attr, and number_attr may be specified.
OpDef.ArgDef.Builder
setTypeValue (целое значение)
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
окончательный OpDef.ArgDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

Унаследованные методы

Публичные методы

public OpDef.ArgDef.Builder addRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

общедоступная сборка OpDef.ArgDef ()

общедоступный OpDef.ArgDef buildPartial ()

public OpDef.ArgDef.Builder очистить ()

public OpDef.ArgDef.Builder ClearDescription ()

 Human readable description.
 
string description = 2;

public OpDef.ArgDef.BuilderclearField ( поле com.google.protobuf.Descriptors.FieldDescriptor)

общедоступный 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;

public OpDef.ArgDef.BuilderclearName ( )

 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;

public OpDef.ArgDef.BuilderclearOneof ( com.google.protobuf.Descriptors.OneofDescriptor oneof)

общедоступный 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;

общедоступный OpDef.ArgDef.Builder ClearTypeAttr ()

 if specified, attr must have type "type"
 
string type_attr = 4;

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

общедоступный клон OpDef.ArgDef.Builder ()

public OpDef.ArgDef getDefaultInstanceForType ()

публичная строка getDescription ()

 Human readable description.
 
string description = 2;

public com.google.protobuf.ByteString getDescriptionBytes ()

 Human readable description.
 
string description = 2;

общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()

общедоступный com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

общедоступное логическое значение 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;

общедоступная строка 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;

публичная строка 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;

общедоступный тип данных 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;

публичная строка 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;

общедоступная строка 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;

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

публичное финальное логическое значение isInitialized ()

public OpDef.ArgDef.Builder mergeFrom (com.google.protobuf.Message другое)

public OpDef.ArgDef.Builder mergeFrom (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Броски
Исключение IO

общедоступный финальный OpDef.ArgDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

public OpDef.ArgDef.Builder setDescription (строковое значение)

 Human readable description.
 
string description = 2;

public OpDef.ArgDef.Builder setDescriptionBytes (значение com.google.protobuf.ByteString)

 Human readable description.
 
string description = 2;

public OpDef.ArgDef.Builder setField (поле com.google.protobuf.Descriptors.FieldDescriptor, значение объекта)

public OpDef.ArgDef.Builder setIsRef (логическое значение)

 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 (строковое значение)

 Name for the input/output.  Should match the regexp "[a-z][a-z0-9_]*".
 
string name = 1;

public OpDef.ArgDef.Builder setNameBytes (значение 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 (строковое значение)

 if specified, attr must have type "int"
 
string number_attr = 5;

public OpDef.ArgDef.Builder setNumberAttrBytes (значение com.google.protobuf.ByteString)

 if specified, attr must have type "int"
 
string number_attr = 5;

public OpDef.ArgDef.Builder setRepeatedField (поле com.google.protobuf.Descriptors.FieldDescriptor, индекс int, значение объекта)

public OpDef.ArgDef.Builder setType (значение DataType )

 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 (строковое значение)

 if specified, attr must have type "type"
 
string type_attr = 4;

public OpDef.ArgDef.Builder setTypeAttrBytes (значение com.google.protobuf.ByteString)

 if specified, attr must have type "type"
 
string type_attr = 4;

public OpDef.ArgDef.Builder setTypeListAttr (строковое значение)

 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 (значение 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 (целое значение)

 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;

общедоступный окончательный OpDef.ArgDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)