1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/lite/toco/types.proto
3
4#include "tensorflow/lite/toco/types.pb.h"
5
6#include <algorithm>
7
8#include <google/protobuf/stubs/common.h>
9#include <google/protobuf/io/coded_stream.h>
10#include <google/protobuf/extension_set.h>
11#include <google/protobuf/wire_format_lite.h>
12#include <google/protobuf/descriptor.h>
13#include <google/protobuf/generated_message_reflection.h>
14#include <google/protobuf/reflection_ops.h>
15#include <google/protobuf/wire_format.h>
16// @@protoc_insertion_point(includes)
17#include <google/protobuf/port_def.inc>
18namespace toco {
19} // namespace toco
20static constexpr ::PROTOBUF_NAMESPACE_ID::Metadata* file_level_metadata_tensorflow_2flite_2ftoco_2ftypes_2eproto = nullptr;
21static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_tensorflow_2flite_2ftoco_2ftypes_2eproto[1];
22static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_tensorflow_2flite_2ftoco_2ftypes_2eproto = nullptr;
23const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_tensorflow_2flite_2ftoco_2ftypes_2eproto::offsets[1] = {};
24static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema* schemas = nullptr;
25static constexpr ::PROTOBUF_NAMESPACE_ID::Message* const* file_default_instances = nullptr;
26
27const char descriptor_table_protodef_tensorflow_2flite_2ftoco_2ftypes_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
28 "\n tensorflow/lite/toco/types.proto\022\004toco"
29 "*\263\002\n\nIODataType\022\030\n\024IO_DATA_TYPE_UNKNOWN\020"
30 "\000\022\t\n\005FLOAT\020\001\022\023\n\017QUANTIZED_UINT8\020\002\022\t\n\005INT"
31 "32\020\003\022\t\n\005INT64\020\004\022\n\n\006STRING\020\005\022\023\n\017QUANTIZED"
32 "_INT16\020\006\022\010\n\004BOOL\020\007\022\r\n\tCOMPLEX64\020\010\022\022\n\016QUA"
33 "NTIZED_INT8\020\t\022\013\n\007FLOAT16\020\n\022\013\n\007FLOAT64\020\013\022"
34 "\016\n\nCOMPLEX128\020\014\022\n\n\006UINT64\020\r\022\014\n\010RESOURCE\020"
35 "\016\022\013\n\007VARIANT\020\017\022\n\n\006UINT32\020\020\022\t\n\005UINT8\020\021\022\010\n"
36 "\004INT8\020\022\022\t\n\005INT16\020\023\022\n\n\006UINT16\020\024"
37 ;
38static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto_deps[1] = {
39};
40static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto_sccs[1] = {
41};
42static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto_once;
43static bool descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto_initialized = false;
44const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto = {
45 &descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto_initialized, descriptor_table_protodef_tensorflow_2flite_2ftoco_2ftypes_2eproto, "tensorflow/lite/toco/types.proto", 350,
46 &descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto_once, descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto_sccs, descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto_deps, 0, 0,
47 schemas, file_default_instances, TableStruct_tensorflow_2flite_2ftoco_2ftypes_2eproto::offsets,
48 file_level_metadata_tensorflow_2flite_2ftoco_2ftypes_2eproto, 0, file_level_enum_descriptors_tensorflow_2flite_2ftoco_2ftypes_2eproto, file_level_service_descriptors_tensorflow_2flite_2ftoco_2ftypes_2eproto,
49};
50
51// Force running AddDescriptors() at dynamic initialization time.
52static bool dynamic_init_dummy_tensorflow_2flite_2ftoco_2ftypes_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto), true);
53namespace toco {
54const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* IODataType_descriptor() {
55 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tensorflow_2flite_2ftoco_2ftypes_2eproto);
56 return file_level_enum_descriptors_tensorflow_2flite_2ftoco_2ftypes_2eproto[0];
57}
58bool IODataType_IsValid(int value) {
59 switch (value) {
60 case 0:
61 case 1:
62 case 2:
63 case 3:
64 case 4:
65 case 5:
66 case 6:
67 case 7:
68 case 8:
69 case 9:
70 case 10:
71 case 11:
72 case 12:
73 case 13:
74 case 14:
75 case 15:
76 case 16:
77 case 17:
78 case 18:
79 case 19:
80 case 20:
81 return true;
82 default:
83 return false;
84 }
85}
86
87
88// @@protoc_insertion_point(namespace_scope)
89} // namespace toco
90PROTOBUF_NAMESPACE_OPEN
91PROTOBUF_NAMESPACE_CLOSE
92
93// @@protoc_insertion_point(global_scope)
94#include <google/protobuf/port_undef.inc>
95