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.

123 lines
4.3 KiB

6 years ago
  1. # Generated by the protocol buffer compiler. DO NOT EDIT!
  2. # source: object_detection/protos/graph_rewriter.proto
  3. import sys,getpass
  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. # @@protoc_insertion_point(imports)
  10. _sym_db = _symbol_database.Default()
  11. DESCRIPTOR = _descriptor.FileDescriptor(
  12. name='object_detection/protos/graph_rewriter.proto',
  13. package='object_detection.protos',
  14. syntax='proto2',
  15. serialized_options=None,
  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\"Y\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')
  17. )
  18. _GRAPHREWRITER = _descriptor.Descriptor(
  19. name='GraphRewriter',
  20. full_name='object_detection.protos.GraphRewriter',
  21. filename=None,
  22. file=DESCRIPTOR,
  23. containing_type=None,
  24. fields=[
  25. _descriptor.FieldDescriptor(
  26. name='quantization', full_name='object_detection.protos.GraphRewriter.quantization', index=0,
  27. number=1, type=11, cpp_type=10, label=1,
  28. has_default_value=False, default_value=None,
  29. message_type=None, enum_type=None, containing_type=None,
  30. is_extension=False, extension_scope=None,
  31. serialized_options=None, file=DESCRIPTOR),
  32. ],
  33. extensions=[
  34. ],
  35. nested_types=[],
  36. enum_types=[
  37. ],
  38. serialized_options=None,
  39. is_extendable=False,
  40. syntax='proto2',
  41. extension_ranges=[],
  42. oneofs=[
  43. ],
  44. serialized_start=73,
  45. serialized_end=149,
  46. )
  47. _QUANTIZATION = _descriptor.Descriptor(
  48. name='Quantization',
  49. full_name='object_detection.protos.Quantization',
  50. filename=None,
  51. file=DESCRIPTOR,
  52. containing_type=None,
  53. fields=[
  54. _descriptor.FieldDescriptor(
  55. name='delay', full_name='object_detection.protos.Quantization.delay', index=0,
  56. number=1, type=5, cpp_type=1, label=1,
  57. has_default_value=True, default_value=500000,
  58. message_type=None, enum_type=None, containing_type=None,
  59. is_extension=False, extension_scope=None,
  60. serialized_options=None, file=DESCRIPTOR),
  61. _descriptor.FieldDescriptor(
  62. name='weight_bits', full_name='object_detection.protos.Quantization.weight_bits', index=1,
  63. number=2, type=5, cpp_type=1, label=1,
  64. has_default_value=True, default_value=8,
  65. message_type=None, enum_type=None, containing_type=None,
  66. is_extension=False, extension_scope=None,
  67. serialized_options=None, file=DESCRIPTOR),
  68. _descriptor.FieldDescriptor(
  69. name='activation_bits', full_name='object_detection.protos.Quantization.activation_bits', index=2,
  70. number=3, type=5, cpp_type=1, label=1,
  71. has_default_value=True, default_value=8,
  72. message_type=None, enum_type=None, containing_type=None,
  73. is_extension=False, extension_scope=None,
  74. serialized_options=None, file=DESCRIPTOR),
  75. ],
  76. extensions=[
  77. ],
  78. nested_types=[],
  79. enum_types=[
  80. ],
  81. serialized_options=None,
  82. is_extendable=False,
  83. syntax='proto2',
  84. extension_ranges=[],
  85. oneofs=[
  86. ],
  87. serialized_start=151,
  88. serialized_end=240,
  89. )
  90. _GRAPHREWRITER.fields_by_name['quantization'].message_type = _QUANTIZATION
  91. DESCRIPTOR.message_types_by_name['GraphRewriter'] = _GRAPHREWRITER
  92. DESCRIPTOR.message_types_by_name['Quantization'] = _QUANTIZATION
  93. _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  94. GraphRewriter = _reflection.GeneratedProtocolMessageType('GraphRewriter', (_message.Message,), dict(
  95. DESCRIPTOR = _GRAPHREWRITER,
  96. __module__ = 'object_detection.protos.graph_rewriter_pb2'
  97. # @@protoc_insertion_point(class_scope:object_detection.protos.GraphRewriter)
  98. ))
  99. _sym_db.RegisterMessage(GraphRewriter)
  100. Quantization = _reflection.GeneratedProtocolMessageType('Quantization', (_message.Message,), dict(
  101. DESCRIPTOR = _QUANTIZATION,
  102. __module__ = 'object_detection.protos.graph_rewriter_pb2'
  103. # @@protoc_insertion_point(class_scope:object_detection.protos.Quantization)
  104. ))
  105. _sym_db.RegisterMessage(Quantization)
  106. # @@protoc_insertion_point(module_scope)