パブリック静的最終クラスOpDef.ArgDef.Builder
For describing inputs and outputs.
tensorflow.OpDef.ArgDef
パブリックメソッド
OpDef.ArgDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor フィールド、オブジェクト値) |
OpDef.ArgDef | 建てる() |
OpDef.ArgDef | buildPartial () |
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 | |
弦 | get説明() 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. |
弦 | getName () 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; |
データ型 | getType () 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. |
整数 | getTypeValue () 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 other) |
OpDef.ArgDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
最終的なOpDef.ArgDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 不明フィールド) |
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 | |
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 (int 値) 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 フィールド、オブジェクト値)
public 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.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;
public 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;
public 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;
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 ()
public 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;
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;
パブリック String 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;
public DataType 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;
パブリック String 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;
パブリック String 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.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
投げる
IO例外 |
---|
public Final OpDef.ArgDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
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 (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;