Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* Not a legal value for DataType. Used to indicate a DataType field
* has not been set.
*
*
* DT_INVALID = 0;
*/
public static final int DT_INVALID_VALUE = 0;
/**
*
* Data types that all computation devices are expected to be
* capable to support.
*
*
* DT_FLOAT = 1;
*/
public static final int DT_FLOAT_VALUE = 1;
/**
* DT_DOUBLE = 2;
*/
public static final int DT_DOUBLE_VALUE = 2;
/**
* DT_INT32 = 3;
*/
public static final int DT_INT32_VALUE = 3;
/**
* DT_UINT8 = 4;
*/
public static final int DT_UINT8_VALUE = 4;
/**
* DT_INT16 = 5;
*/
public static final int DT_INT16_VALUE = 5;
/**
* DT_INT8 = 6;
*/
public static final int DT_INT8_VALUE = 6;
/**
* DT_STRING = 7;
*/
public static final int DT_STRING_VALUE = 7;
/**
*
* Single-precision complex
*
*
* DT_COMPLEX64 = 8;
*/
public static final int DT_COMPLEX64_VALUE = 8;
/**
* DT_INT64 = 9;
*/
public static final int DT_INT64_VALUE = 9;
/**
* DT_BOOL = 10;
*/
public static final int DT_BOOL_VALUE = 10;
/**
*
* Quantized int8
*
*
* DT_QINT8 = 11;
*/
public static final int DT_QINT8_VALUE = 11;
/**
*
* Quantized uint8
*
*
* DT_QUINT8 = 12;
*/
public static final int DT_QUINT8_VALUE = 12;
/**
*
* Quantized int32
*
*
* DT_QINT32 = 13;
*/
public static final int DT_QINT32_VALUE = 13;
/**
*
* Float32 truncated to 16 bits. Only for cast ops.
*
*
* DT_BFLOAT16 = 14;
*/
public static final int DT_BFLOAT16_VALUE = 14;
/**
*
* Quantized int16
*
*
* DT_QINT16 = 15;
*/
public static final int DT_QINT16_VALUE = 15;
/**
*
* Quantized uint16
*
*
* DT_QUINT16 = 16;
*/
public static final int DT_QUINT16_VALUE = 16;
/**
* DT_UINT16 = 17;
*/
public static final int DT_UINT16_VALUE = 17;
/**
*
* Double-precision complex
*
*
* DT_COMPLEX128 = 18;
*/
public static final int DT_COMPLEX128_VALUE = 18;
/**
* DT_HALF = 19;
*/
public static final int DT_HALF_VALUE = 19;
/**
* DT_RESOURCE = 20;
*/
public static final int DT_RESOURCE_VALUE = 20;
/**
*
* Arbitrary C++ data types
*
*
* DT_VARIANT = 21;
*/
public static final int DT_VARIANT_VALUE = 21;
/**
* DT_UINT32 = 22;
*/
public static final int DT_UINT32_VALUE = 22;
/**
* DT_UINT64 = 23;
*/
public static final int DT_UINT64_VALUE = 23;
/**
*
* Do not use! These are only for parameters. Every enum above
* should have a corresponding value below (verified by types_test).
*
*
* DT_FLOAT_REF = 101;
*/
public static final int DT_FLOAT_REF_VALUE = 101;
/**
* DT_DOUBLE_REF = 102;
*/
public static final int DT_DOUBLE_REF_VALUE = 102;
/**
* DT_INT32_REF = 103;
*/
public static final int DT_INT32_REF_VALUE = 103;
/**
* DT_UINT8_REF = 104;
*/
public static final int DT_UINT8_REF_VALUE = 104;
/**
* DT_INT16_REF = 105;
*/
public static final int DT_INT16_REF_VALUE = 105;
/**
* DT_INT8_REF = 106;
*/
public static final int DT_INT8_REF_VALUE = 106;
/**
* DT_STRING_REF = 107;
*/
public static final int DT_STRING_REF_VALUE = 107;
/**
* DT_COMPLEX64_REF = 108;
*/
public static final int DT_COMPLEX64_REF_VALUE = 108;
/**
* DT_INT64_REF = 109;
*/
public static final int DT_INT64_REF_VALUE = 109;
/**
* DT_BOOL_REF = 110;
*/
public static final int DT_BOOL_REF_VALUE = 110;
/**
* DT_QINT8_REF = 111;
*/
public static final int DT_QINT8_REF_VALUE = 111;
/**
* DT_QUINT8_REF = 112;
*/
public static final int DT_QUINT8_REF_VALUE = 112;
/**
* DT_QINT32_REF = 113;
*/
public static final int DT_QINT32_REF_VALUE = 113;
/**
* DT_BFLOAT16_REF = 114;
*/
public static final int DT_BFLOAT16_REF_VALUE = 114;
/**
* DT_QINT16_REF = 115;
*/
public static final int DT_QINT16_REF_VALUE = 115;
/**
* DT_QUINT16_REF = 116;
*/
public static final int DT_QUINT16_REF_VALUE = 116;
/**
* DT_UINT16_REF = 117;
*/
public static final int DT_UINT16_REF_VALUE = 117;
/**
* DT_COMPLEX128_REF = 118;
*/
public static final int DT_COMPLEX128_REF_VALUE = 118;
/**
* DT_HALF_REF = 119;
*/
public static final int DT_HALF_REF_VALUE = 119;
/**
* DT_RESOURCE_REF = 120;
*/
public static final int DT_RESOURCE_REF_VALUE = 120;
/**
* DT_VARIANT_REF = 121;
*/
public static final int DT_VARIANT_REF_VALUE = 121;
/**
* DT_UINT32_REF = 122;
*/
public static final int DT_UINT32_REF_VALUE = 122;
/**
* DT_UINT64_REF = 123;
*/
public static final int DT_UINT64_REF_VALUE = 123;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DataType valueOf(int value) {
return forNumber(value);
}
public static DataType forNumber(int value) {
switch (value) {
case 0: return DT_INVALID;
case 1: return DT_FLOAT;
case 2: return DT_DOUBLE;
case 3: return DT_INT32;
case 4: return DT_UINT8;
case 5: return DT_INT16;
case 6: return DT_INT8;
case 7: return DT_STRING;
case 8: return DT_COMPLEX64;
case 9: return DT_INT64;
case 10: return DT_BOOL;
case 11: return DT_QINT8;
case 12: return DT_QUINT8;
case 13: return DT_QINT32;
case 14: return DT_BFLOAT16;
case 15: return DT_QINT16;
case 16: return DT_QUINT16;
case 17: return DT_UINT16;
case 18: return DT_COMPLEX128;
case 19: return DT_HALF;
case 20: return DT_RESOURCE;
case 21: return DT_VARIANT;
case 22: return DT_UINT32;
case 23: return DT_UINT64;
case 101: return DT_FLOAT_REF;
case 102: return DT_DOUBLE_REF;
case 103: return DT_INT32_REF;
case 104: return DT_UINT8_REF;
case 105: return DT_INT16_REF;
case 106: return DT_INT8_REF;
case 107: return DT_STRING_REF;
case 108: return DT_COMPLEX64_REF;
case 109: return DT_INT64_REF;
case 110: return DT_BOOL_REF;
case 111: return DT_QINT8_REF;
case 112: return DT_QUINT8_REF;
case 113: return DT_QINT32_REF;
case 114: return DT_BFLOAT16_REF;
case 115: return DT_QINT16_REF;
case 116: return DT_QUINT16_REF;
case 117: return DT_UINT16_REF;
case 118: return DT_COMPLEX128_REF;
case 119: return DT_HALF_REF;
case 120: return DT_RESOURCE_REF;
case 121: return DT_VARIANT_REF;
case 122: return DT_UINT32_REF;
case 123: return DT_UINT64_REF;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DataType> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public DataType findValueByNumber(int number) {
return DataType.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.tensorflow.framework.TypesProtos.getDescriptor().getEnumTypes().get(0);
}
private static final DataType[] VALUES = values();
public static DataType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DataType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:tensorflow.DataType)
}