classe finale statique publique OpDef.ArgDef
For describing inputs and outputs.
tensorflow.OpDef.ArgDef
de type Protobuf.OpDef.ArgDef Classes imbriquées
classe | OpDef.ArgDef.Builder | For describing inputs and outputs. |
Constantes
int | DESCRIPTION_FIELD_NUMBER | |
int | IS_REF_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER | |
int | NUMBER_ATTR_FIELD_NUMBER | |
int | TYPE_ATTR_FIELD_NUMBER | |
int | TYPE_FIELD_NUMBER | |
int | TYPE_LIST_ATTR_FIELD_NUMBER |
Méthodes publiques
booléen | est égal (Obj objet) |
statique OpDef.ArgDef | |
OpDef.ArgDef | |
Chaîne | obtenirDescription () Human readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human readable description. |
final statique com.google.protobuf.Descriptors.Descriptor | |
booléen | getIsRef () For inputs: if true, the inputs are required to be refs. |
Chaîne | obtenirNom () Name for the input/output. |
com.google.protobuf.ByteString | getNameBytes () Name for the input/output. |
Chaîne | 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; |
int | |
Type de données | getType () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Chaîne | 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; |
Chaîne | 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. |
final com.google.protobuf.UnknownFieldSet | |
int | |
booléen final | |
statique OpDef.ArgDef.Builder | newBuilder (prototype OpDef.ArgDef ) |
statique OpDef.ArgDef.Builder | |
OpDef.ArgDef.Builder | |
statique OpDef.ArgDef | parseDelimitedFrom (entrée InputStream) |
statique OpDef.ArgDef | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.ArgDef | parseFrom (données ByteBuffer) |
statique OpDef.ArgDef | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.ArgDef | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.ArgDef | parseFrom (entrée com.google.protobuf.CodedInputStream) |
statique OpDef.ArgDef | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.ArgDef | parseFrom (données com.google.protobuf.ByteString) |
statique OpDef.ArgDef | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique OpDef.ArgDef | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
OpDef.ArgDef.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int DESCRIPTION_FIELD_NUMBER
Valeur constante : 2
public statique final int IS_REF_FIELD_NUMBER
Valeur constante : 16
public statique final entier NAME_FIELD_NUMBER
Valeur constante : 1
public statique final int NUMBER_ATTR_FIELD_NUMBER
Valeur constante : 5
public statique final int TYPE_ATTR_FIELD_NUMBER
Valeur constante : 4
public statique final int TYPE_FIELD_NUMBER
Valeur constante : 3
public statique final int TYPE_LIST_ATTR_FIELD_NUMBER
Valeur constante : 6
Méthodes publiques
public booléen égal (Objet obj)
chaîne publique getDescription ()
Human readable description.
string description = 2;
public com.google.protobuf.ByteString getDescriptionBytes ()
Human readable description.
string description = 2;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public booléen 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;
chaîne publique 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;
chaîne publique 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;
publique getParserForType ()
public int getSerializedSize ()
Type de données public 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;
chaîne publique 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;
chaîne publique 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;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
code de hachage int public ()
public final booléen isInitialized ()
public statique OpDef.ArgDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique OpDef.ArgDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique OpDef.ArgDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique OpDef.ArgDef parseFrom (entrée com.google.protobuf.CodedInputStream)
Jetés
IOException |
---|
public statique OpDef.ArgDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique OpDef.ArgDef parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public statique OpDef.ArgDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique OpDef.ArgDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|