clase final estática pública OpDef.ArgDef
For describing inputs and outputs.Protobuf tipo
tensorflow.OpDef.ArgDef
Clases anidadas
clase | OpDef.ArgDef.Builder | For describing inputs and outputs. |
Constantes
En t | DESCRIPTION_FIELD_NUMBER | |
En t | IS_REF_FIELD_NUMBER | |
En t | NAME_FIELD_NUMBER | |
En t | NUMBER_ATTR_FIELD_NUMBER | |
En t | TYPE_ATTR_FIELD_NUMBER | |
En t | TYPE_FIELD_NUMBER | |
En t | TYPE_LIST_ATTR_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
OpDef.ArgDef estático | |
OpDef.ArgDef | |
Cuerda | getDescription () Human readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human readable description. |
com.google.protobuf.Descriptors.Descriptor estático final | |
booleano | getIsRef () For inputs: if true, the inputs are required to be refs. |
Cuerda | getName () Name for the input/output. |
com.google.protobuf.ByteString | getNameBytes () Name for the input/output. |
Cuerda | 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; |
En t | |
Tipo de datos | getType () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Cuerda | 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; |
Cuerda | 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. |
En t | getTypeValue () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
final com.google.protobuf.UnknownFieldSet | |
En t | hashCode () |
booleano final | |
OpDef.ArgDef.Builder estático | newBuilder (prototipo OpDef.ArgDef ) |
OpDef.ArgDef.Builder estático | newBuilder () |
OpDef.ArgDef.Builder | |
OpDef.ArgDef estático | parseDelimitedFrom (entrada InputStream) |
OpDef.ArgDef estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (datos ByteBuffer) |
OpDef.ArgDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
OpDef.ArgDef estático | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (datos com.google.protobuf.ByteString) |
OpDef.ArgDef estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
OpDef.ArgDef.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int DESCRIPTION_FIELD_NUMBER
Valor constante: 2
público estático final int IS_REF_FIELD_NUMBER
Valor constante: 16
public static final int NAME_FIELD_NUMBER
Valor constante: 1
public static final int NUMBER_ATTR_FIELD_NUMBER
Valor constante: 5
público estático final int TYPE_ATTR_FIELD_NUMBER
Valor constante: 4
público estático final int TYPE_FIELD_NUMBER
Valor constante: 3
público estático final int TYPE_LIST_ATTR_FIELD_NUMBER
Valor constante: 6
Métodos públicos
public boolean es igual a (Object obj)
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 boolean 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;
public 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;
público getParserForType ()
public int getSerializedSize ()
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;
public 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;
public 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;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static OpDef.ArgDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
OpDef.ArgDef estático público parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static OpDef.ArgDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
OpDef.ArgDef parseFrom estático público (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
public static OpDef.ArgDef parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
OpDef.ArgDef estático público parseFrom (datos de com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
public static OpDef.ArgDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
OpDef.ArgDef estático público parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|