You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

130 lines
4.6 KiB

  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/graph_rewriter.proto
  3. import sys
  4. _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
  5. from google.protobuf import descriptor as _descriptor
  6. from google.protobuf import message as _message
  7. from google.protobuf import reflection as _reflection
  8. from google.protobuf import symbol_database as _symbol_database
  9. from google.protobuf import descriptor_pb2
  10. # @@protoc_insertion_point(imports)
  11. _sym_db = _symbol_database.Default()
  12. DESCRIPTOR = _descriptor.FileDescriptor(
  13. name='object_detection/protos/graph_rewriter.proto',
  14. package='object_detection.protos',
  15. syntax='proto2',
  16. serialized_pb=_b('\n,object_detection/protos/graph_rewriter.proto\x12\x17object_detection.protos\"L\n\rGraphRewriter\x12;\n\x0cquantization\x18\x01 \x01(\x0b\x32%.object_detection.protos.Quantization\"s\n\x0cQuantization\x12\x15\n\x05\x64\x65lay\x18\x01 \x01(\x05:\x06\x35\x30\x30\x30\x30\x30\x12\x16\n\x0bweight_bits\x18\x02 \x01(\x05:\x01\x38\x12\x1a\n\x0f\x61\x63tivation_bits\x18\x03 \x01(\x05:\x01\x38\x12\x18\n\tsymmetric\x18\x04 \x01(\x08:\x05\x66\x61lse')
  17. )
  18. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  19. _GRAPHREWRITER = _descriptor.Descriptor(
  20. name='GraphRewriter',
  21. full_name='object_detection.protos.GraphRewriter',
  22. filename=None,
  23. file=DESCRIPTOR,
  24. containing_type=None,
  25. fields=[
  26. _descriptor.FieldDescriptor(
  27. name='quantization', full_name='object_detection.protos.GraphRewriter.quantization', index=0,
  28. number=1, type=11, cpp_type=10, label=1,
  29. has_default_value=False, default_value=None,
  30. message_type=None, enum_type=None, containing_type=None,
  31. is_extension=False, extension_scope=None,
  32. options=None),
  33. ],
  34. extensions=[
  35. ],
  36. nested_types=[],
  37. enum_types=[
  38. ],
  39. options=None,
  40. is_extendable=False,
  41. syntax='proto2',
  42. extension_ranges=[],
  43. oneofs=[
  44. ],
  45. serialized_start=73,
  46. serialized_end=149,
  47. )
  48. _QUANTIZATION = _descriptor.Descriptor(
  49. name='Quantization',
  50. full_name='object_detection.protos.Quantization',
  51. filename=None,
  52. file=DESCRIPTOR,
  53. containing_type=None,
  54. fields=[
  55. _descriptor.FieldDescriptor(
  56. name='delay', full_name='object_detection.protos.Quantization.delay', index=0,
  57. number=1, type=5, cpp_type=1, label=1,
  58. has_default_value=True, default_value=500000,
  59. message_type=None, enum_type=None, containing_type=None,
  60. is_extension=False, extension_scope=None,
  61. options=None),
  62. _descriptor.FieldDescriptor(
  63. name='weight_bits', full_name='object_detection.protos.Quantization.weight_bits', index=1,
  64. number=2, type=5, cpp_type=1, label=1,
  65. has_default_value=True, default_value=8,
  66. message_type=None, enum_type=None, containing_type=None,
  67. is_extension=False, extension_scope=None,
  68. options=None),
  69. _descriptor.FieldDescriptor(
  70. name='activation_bits', full_name='object_detection.protos.Quantization.activation_bits', index=2,
  71. number=3, type=5, cpp_type=1, label=1,
  72. has_default_value=True, default_value=8,
  73. message_type=None, enum_type=None, containing_type=None,
  74. is_extension=False, extension_scope=None,
  75. options=None),
  76. _descriptor.FieldDescriptor(
  77. name='symmetric', full_name='object_detection.protos.Quantization.symmetric', index=3,
  78. number=4, type=8, cpp_type=7, label=1,
  79. has_default_value=True, default_value=False,
  80. message_type=None, enum_type=None, containing_type=None,
  81. is_extension=False, extension_scope=None,
  82. options=None),
  83. ],
  84. extensions=[
  85. ],
  86. nested_types=[],
  87. enum_types=[
  88. ],
  89. options=None,
  90. is_extendable=False,
  91. syntax='proto2',
  92. extension_ranges=[],
  93. oneofs=[
  94. ],
  95. serialized_start=151,
  96. serialized_end=266,
  97. )
  98. _GRAPHREWRITER.fields_by_name['quantization'].message_type = _QUANTIZATION
  99. DESCRIPTOR.message_types_by_name['GraphRewriter'] = _GRAPHREWRITER
  100. DESCRIPTOR.message_types_by_name['Quantization'] = _QUANTIZATION
  101. GraphRewriter = _reflection.GeneratedProtocolMessageType('GraphRewriter', (_message.Message,), dict(
  102. DESCRIPTOR = _GRAPHREWRITER,
  103. __module__ = 'object_detection.protos.graph_rewriter_pb2'
  104. # @@protoc_insertion_point(class_scope:object_detection.protos.GraphRewriter)
  105. ))
  106. _sym_db.RegisterMessage(GraphRewriter)
  107. Quantization = _reflection.GeneratedProtocolMessageType('Quantization', (_message.Message,), dict(
  108. DESCRIPTOR = _QUANTIZATION,
  109. __module__ = 'object_detection.protos.graph_rewriter_pb2'
  110. # @@protoc_insertion_point(class_scope:object_detection.protos.Quantization)
  111. ))
  112. _sym_db.RegisterMessage(Quantization)
  113. # @@protoc_insertion_point(module_scope)