classe final pública estática OpDef.ArgDef
For describing inputs and outputs.
tensorflow.OpDef.ArgDef
tipo tensorflow.OpDef.ArgDef
Classes aninhadas
aula | 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étodos Públicos
boleano | igual a (objeto obj) |
OpDef.ArgDef estático | |
OpDef.ArgDef | |
Fragmento | getDescription () Human readable description. |
com.google.protobuf.ByteString | getDescriptionBytes () Human readable description. |
final static com.google.protobuf.Descriptors.Descriptor | |
boleano | getIsRef () For inputs: if true, the inputs are required to be refs. |
Fragmento | getName () Name for the input/output. |
com.google.protobuf.ByteString | getNameBytes () Name for the input/output. |
Fragmento | 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 | |
Tipo de dados | getType () Describes the type of one or more tensors that are accepted/produced by this input/output arg. |
Fragmento | 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; |
Fragmento | 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 | hashCode () |
final booleano | |
OpDef.ArgDef.Builder estático | newBuilder (protótipo OpDef.ArgDef ) |
OpDef.ArgDef.Builder estático | newBuilder () |
OpDef.ArgDef.Builder | |
OpDef.ArgDef estático | parseDelimitedFrom (InputStream input) |
OpDef.ArgDef estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (dados ByteBuffer) |
OpDef.ArgDef estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (com.google.protobuf.CodedInputStream input) |
OpDef.ArgDef estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (com.google.protobuf.ByteString data) |
OpDef.ArgDef estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.ArgDef estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
OpDef.ArgDef.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int DESCRIPTION_FIELD_NUMBER
Valor constante: 2
public static 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
public static final int TYPE_ATTR_FIELD_NUMBER
Valor constante: 4
public static final int TYPE_FIELD_NUMBER
Valor Constante: 3
public static final int TYPE_LIST_ATTR_FIELD_NUMBER
Valor constante: 6
Métodos Públicos
public boolean equals (Object obj)
public String getDescription ()
string description = 2;
Human readable description.
string description = 2;
public com.google.protobuf.ByteString getDescriptionBytes ()
string description = 2;
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)
Lança
IOException |
---|
public static OpDef.ArgDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static OpDef.ArgDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static OpDef.ArgDef parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static OpDef.ArgDef parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static OpDef.ArgDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static OpDef.ArgDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|