OpDef.ArgDef.Builder

classe finale statica pubblica OpDef.ArgDef.Builder

 For describing inputs and outputs.
 
Tipo di protocollo tensorflow.OpDef.ArgDef

Metodi pubblici

OpDef.ArgDef.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
OpDef.ArgDef
OpDef.ArgDef
OpDef.ArgDef.Builder
chiaro ()
OpDef.ArgDef.Builder
clearDescrizione ()
 Human readable description.
OpDef.ArgDef.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
OpDef.ArgDef.Builder
clearIsRef ()
 For inputs: if true, the inputs are required to be refs.
OpDef.ArgDef.Builder
nomechiaro ()
 Name for the input/output.
OpDef.ArgDef.Builder
clearNumberAttr ()
 if specified, attr must have type "int"
 
string number_attr = 5;
OpDef.ArgDef.Builder
clearOneof (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.
OpDef.ArgDef.Builder
clearTypeAttr ()
 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
clone ()
OpDef.ArgDef
Corda
getDescrizione ()
 Human readable description.
com.google.protobuf.ByteString
getDescrizioneBytes ()
 Human readable description.
com.google.protobuf.Descriptors.Descriptor statico finale
com.google.protobuf.Descriptors.Descriptor
booleano
getIsRef ()
 For inputs: if true, the inputs are required to be refs.
Corda
getNome ()
 Name for the input/output.
com.google.protobuf.ByteString
getNomeBytes ()
 Name for the input/output.
Corda
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;
Tipo di dati
getType ()
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
Corda
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;
Corda
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.
int
getTypeValue ()
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
booleano finale
OpDef.ArgDef.Builder
mergeFrom (com.google.protobuf.Message altro)
OpDef.ArgDef.Builder
mergeFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
finale OpDef.ArgDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
OpDef.ArgDef.Builder
setDescription (valore stringa)
 Human readable description.
OpDef.ArgDef.Builder
setDescriptionBytes (valore com.google.protobuf.ByteString)
 Human readable description.
OpDef.ArgDef.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)
OpDef.ArgDef.Builder
setIsRef (valore booleano)
 For inputs: if true, the inputs are required to be refs.
OpDef.ArgDef.Builder
setName (valore stringa)
 Name for the input/output.
OpDef.ArgDef.Builder
setNameBytes (valore com.google.protobuf.ByteString)
 Name for the input/output.
OpDef.ArgDef.Builder
setNumberAttr (valore stringa)
 if specified, attr must have type "int"
 
string number_attr = 5;
OpDef.ArgDef.Builder
setNumberAttrBytes (valore com.google.protobuf.ByteString)
 if specified, attr must have type "int"
 
string number_attr = 5;
OpDef.ArgDef.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)
OpDef.ArgDef.Builder
setType (valore del tipo di dati )
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
OpDef.ArgDef.Builder
setTypeAttr (valore stringa)
 if specified, attr must have type "type"
 
string type_attr = 4;
OpDef.ArgDef.Builder
setTypeAttrBytes (valore com.google.protobuf.ByteString)
 if specified, attr must have type "type"
 
string type_attr = 4;
OpDef.ArgDef.Builder
setTypeListAttr (valore stringa)
 If specified, attr must have type "list(type)", and none of
 type, type_attr, and number_attr may be specified.
OpDef.ArgDef.Builder
setTypeListAttrBytes (valore 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 (valore int)
 Describes the type of one or more tensors that are accepted/produced
 by this input/output arg.
finale OpDef.ArgDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

Metodi ereditati

Metodi pubblici

public OpDef.ArgDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

build pubblica OpDef.ArgDef ()

public OpDef.ArgDef buildPartial ()

pubblico OpDef.ArgDef.Builder chiaro ()

public OpDef.ArgDef.Builder clearDescription ()

descrizione stringa

 Human readable description.
 
string description = 2;

public OpDef.ArgDef.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

pubblico 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 clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

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;

clone pubblico di OpDef.ArgDef.Builder ()

pubblico OpDef.ArgDef getDefaultInstanceForType ()

stringa pubblica getDescription ()

descrizione stringa

 Human readable description.
 
string description = 2;

pubblico com.google.protobuf.ByteString getDescriptionBytes ()

descrizione stringa

 Human readable description.
 
string description = 2;

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

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

booleano pubblico 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;

stringa pubblica getName ()

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

pubblico com.google.protobuf.ByteString getNameBytes ()

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

stringa pubblica getNumberAttr ()

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

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

stringa pubblica getTypeAttr ()

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

pubblico com.google.protobuf.ByteString getTypeAttrBytes ()

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

stringa pubblica 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;

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

public final booleano isInitialized ()

public OpDef.ArgDef.Builder mergeFrom (com.google.protobuf.Message altro)

public OpDef.ArgDef.Builder mergeFrom (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lancia
IOException

pubblico finale OpDef.ArgDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

public OpDef.ArgDef.Builder setDescription (valore stringa)

descrizione stringa

 Human readable description.
 
string description = 2;

pubblico OpDef.ArgDef.Builder setDescriptionBytes (valore com.google.protobuf.ByteString)

descrizione stringa

 Human readable description.
 
string description = 2;

public OpDef.ArgDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valore oggetto)

public OpDef.ArgDef.Builder setIsRef (valore booleano)

 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 (valore stringa)

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

pubblico OpDef.ArgDef.Builder setNameBytes (valore 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 (valore stringa)

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

pubblico OpDef.ArgDef.Builder setNumberAttrBytes (valore com.google.protobuf.ByteString)

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

public OpDef.ArgDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, indice int, valore oggetto)

public OpDef.ArgDef.Builder setType (valore 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 (valore stringa)

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

pubblico OpDef.ArgDef.Builder setTypeAttrBytes (valore com.google.protobuf.ByteString)

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

public OpDef.ArgDef.Builder setTypeListAttr (valore stringa)

 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;

pubblico OpDef.ArgDef.Builder setTypeListAttrBytes (valore 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 (valore 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;

pubblico finale OpDef.ArgDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)