57 lines
2.0 KiB
Java
57 lines
2.0 KiB
Java
package o;
|
|
|
|
import org.tensorflow.lite.TensorFlowLite;
|
|
|
|
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
|
/* JADX WARN: Found several "values" enum fields: [] */
|
|
/* renamed from: o.gsn, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
public final class EnumC15518gsn {
|
|
private static final EnumC15518gsn[] $VALUES;
|
|
public static final EnumC15518gsn FLOAT32;
|
|
public static final EnumC15518gsn INT32;
|
|
public static final EnumC15518gsn INT64;
|
|
public static final EnumC15518gsn UINT8;
|
|
private static final EnumC15518gsn[] values;
|
|
private final int value;
|
|
|
|
public static EnumC15518gsn valueOf(String str) {
|
|
return (EnumC15518gsn) Enum.valueOf(EnumC15518gsn.class, str);
|
|
}
|
|
|
|
public static EnumC15518gsn[] values() {
|
|
return (EnumC15518gsn[]) $VALUES.clone();
|
|
}
|
|
|
|
static {
|
|
EnumC15518gsn enumC15518gsn = new EnumC15518gsn("FLOAT32", 0, 1);
|
|
FLOAT32 = enumC15518gsn;
|
|
EnumC15518gsn enumC15518gsn2 = new EnumC15518gsn("INT32", 1, 2);
|
|
INT32 = enumC15518gsn2;
|
|
EnumC15518gsn enumC15518gsn3 = new EnumC15518gsn("UINT8", 2, 3);
|
|
UINT8 = enumC15518gsn3;
|
|
EnumC15518gsn enumC15518gsn4 = new EnumC15518gsn("INT64", 3, 4);
|
|
INT64 = enumC15518gsn4;
|
|
$VALUES = new EnumC15518gsn[]{enumC15518gsn, enumC15518gsn2, enumC15518gsn3, enumC15518gsn4};
|
|
values = values();
|
|
}
|
|
|
|
private EnumC15518gsn(String str, int i, int i2) {
|
|
this.value = i2;
|
|
}
|
|
|
|
public static EnumC15518gsn e(int i) {
|
|
for (EnumC15518gsn enumC15518gsn : values) {
|
|
if (enumC15518gsn.value == i) {
|
|
return enumC15518gsn;
|
|
}
|
|
}
|
|
StringBuilder sb = new StringBuilder("DataType error: DataType ");
|
|
sb.append(i);
|
|
sb.append(" is not recognized in Java (version ");
|
|
sb.append(TensorFlowLite.version());
|
|
sb.append(")");
|
|
throw new IllegalArgumentException(sb.toString());
|
|
}
|
|
}
|