|
- # -*- coding: utf-8 -*-
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: mindinsight_summary.proto
-
- from google.protobuf import descriptor as _descriptor
- from google.protobuf import message as _message
- from google.protobuf import reflection as _reflection
- from google.protobuf import symbol_database as _symbol_database
- # @@protoc_insertion_point(imports)
-
- _sym_db = _symbol_database.Default()
-
-
- from . import mindinsight_anf_ir_pb2 as mindinsight__anf__ir__pb2
-
-
- DESCRIPTOR = _descriptor.FileDescriptor(
- name='mindinsight_summary.proto',
- package='mindinsight',
- syntax='proto2',
- serialized_options=b'\370\001\001',
- serialized_pb=b'\n\x19mindinsight_summary.proto\x12\x0bmindinsight\x1a\x18mindinsight_anf_ir.proto\"\xc3\x01\n\x05\x45vent\x12\x11\n\twall_time\x18\x01 \x02(\x01\x12\x0c\n\x04step\x18\x02 \x01(\x03\x12\x11\n\x07version\x18\x03 \x01(\tH\x00\x12,\n\tgraph_def\x18\x04 \x01(\x0b\x32\x17.mindinsight.GraphProtoH\x00\x12\'\n\x07summary\x18\x05 \x01(\x0b\x32\x14.mindinsight.SummaryH\x00\x12\'\n\x07\x65xplain\x18\x06 \x01(\x0b\x32\x14.mindinsight.ExplainH\x00\x42\x06\n\x04what\"\xc0\x04\n\x07Summary\x12)\n\x05value\x18\x01 \x03(\x0b\x32\x1a.mindinsight.Summary.Value\x1aQ\n\x05Image\x12\x0e\n\x06height\x18\x01 \x02(\x05\x12\r\n\x05width\x18\x02 \x02(\x05\x12\x12\n\ncolorspace\x18\x03 \x02(\x05\x12\x15\n\rencoded_image\x18\x04 \x02(\x0c\x1a\xf0\x01\n\tHistogram\x12\x36\n\x07\x62uckets\x18\x01 \x03(\x0b\x32%.mindinsight.Summary.Histogram.bucket\x12\x11\n\tnan_count\x18\x02 \x01(\x03\x12\x15\n\rpos_inf_count\x18\x03 \x01(\x03\x12\x15\n\rneg_inf_count\x18\x04 \x01(\x03\x12\x0b\n\x03max\x18\x05 \x01(\x01\x12\x0b\n\x03min\x18\x06 \x01(\x01\x12\x0b\n\x03sum\x18\x07 \x01(\x01\x12\r\n\x05\x63ount\x18\x08 \x01(\x03\x1a\x34\n\x06\x62ucket\x12\x0c\n\x04left\x18\x01 \x02(\x01\x12\r\n\x05width\x18\x02 \x02(\x01\x12\r\n\x05\x63ount\x18\x03 \x02(\x03\x1a\xc3\x01\n\x05Value\x12\x0b\n\x03tag\x18\x01 \x02(\t\x12\x16\n\x0cscalar_value\x18\x03 \x01(\x02H\x00\x12+\n\x05image\x18\x04 \x01(\x0b\x32\x1a.mindinsight.Summary.ImageH\x00\x12*\n\x06tensor\x18\x08 \x01(\x0b\x32\x18.mindinsight.TensorProtoH\x00\x12\x33\n\thistogram\x18\t \x01(\x0b\x32\x1e.mindinsight.Summary.HistogramH\x00\x42\x07\n\x05value\"\xcb\x06\n\x07\x45xplain\x12\x11\n\tsample_id\x18\x01 \x01(\x05\x12\x12\n\nimage_path\x18\x02 \x01(\t\x12\x1a\n\x12ground_truth_label\x18\x03 \x03(\x05\x12\x31\n\tinference\x18\x04 \x01(\x0b\x32\x1e.mindinsight.Explain.Inference\x12\x35\n\x0b\x65xplanation\x18\x05 \x03(\x0b\x32 .mindinsight.Explain.Explanation\x12\x31\n\tbenchmark\x18\x06 \x03(\x0b\x32\x1e.mindinsight.Explain.Benchmark\x12/\n\x08metadata\x18\x07 \x01(\x0b\x32\x1d.mindinsight.Explain.Metadata\x12\x0e\n\x06status\x18\x08 \x01(\t\x1a\x9c\x02\n\tInference\x12\x19\n\x11ground_truth_prob\x18\x01 \x03(\x02\x12\x17\n\x0fpredicted_label\x18\x02 \x03(\x05\x12\x16\n\x0epredicted_prob\x18\x03 \x03(\x02\x12\x1c\n\x14ground_truth_prob_sd\x18\x04 \x03(\x02\x12#\n\x1bground_truth_prob_itl95_low\x18\x05 \x03(\x02\x12\"\n\x1aground_truth_prob_itl95_hi\x18\x06 \x03(\x02\x12\x19\n\x11predicted_prob_sd\x18\x07 \x03(\x02\x12 \n\x18predicted_prob_itl95_low\x18\x08 \x03(\x02\x12\x1f\n\x17predicted_prob_itl95_hi\x18\t \x03(\x02\x1aJ\n\x0b\x45xplanation\x12\x16\n\x0e\x65xplain_method\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\x05\x12\x14\n\x0cheatmap_path\x18\x03 \x01(\t\x1ag\n\tBenchmark\x12\x18\n\x10\x62\x65nchmark_method\x18\x01 \x01(\t\x12\x16\n\x0e\x65xplain_method\x18\x02 \x01(\t\x12\x13\n\x0btotal_score\x18\x03 \x01(\x02\x12\x13\n\x0blabel_score\x18\x04 \x03(\x02\x1aK\n\x08Metadata\x12\r\n\x05label\x18\x01 \x03(\t\x12\x16\n\x0e\x65xplain_method\x18\x02 \x03(\t\x12\x18\n\x10\x62\x65nchmark_method\x18\x03 \x03(\tB\x03\xf8\x01\x01'
- ,
- dependencies=[mindinsight__anf__ir__pb2.DESCRIPTOR,])
-
-
-
-
- _EVENT = _descriptor.Descriptor(
- name='Event',
- full_name='mindinsight.Event',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='wall_time', full_name='mindinsight.Event.wall_time', index=0,
- number=1, type=1, cpp_type=5, label=2,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='step', full_name='mindinsight.Event.step', index=1,
- number=2, type=3, cpp_type=2, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='version', full_name='mindinsight.Event.version', index=2,
- number=3, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=b"".decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='graph_def', full_name='mindinsight.Event.graph_def', index=3,
- number=4, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='summary', full_name='mindinsight.Event.summary', index=4,
- number=5, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='explain', full_name='mindinsight.Event.explain', index=5,
- number=6, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name='what', full_name='mindinsight.Event.what',
- index=0, containing_type=None, fields=[]),
- ],
- serialized_start=69,
- serialized_end=264,
- )
-
-
- _SUMMARY_IMAGE = _descriptor.Descriptor(
- name='Image',
- full_name='mindinsight.Summary.Image',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='height', full_name='mindinsight.Summary.Image.height', index=0,
- number=1, type=5, cpp_type=1, label=2,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='width', full_name='mindinsight.Summary.Image.width', index=1,
- number=2, type=5, cpp_type=1, label=2,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='colorspace', full_name='mindinsight.Summary.Image.colorspace', index=2,
- number=3, type=5, cpp_type=1, label=2,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='encoded_image', full_name='mindinsight.Summary.Image.encoded_image', index=3,
- number=4, type=12, cpp_type=9, label=2,
- has_default_value=False, default_value=b"",
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=321,
- serialized_end=402,
- )
-
- _SUMMARY_HISTOGRAM_BUCKET = _descriptor.Descriptor(
- name='bucket',
- full_name='mindinsight.Summary.Histogram.bucket',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='left', full_name='mindinsight.Summary.Histogram.bucket.left', index=0,
- number=1, type=1, cpp_type=5, label=2,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='width', full_name='mindinsight.Summary.Histogram.bucket.width', index=1,
- number=2, type=1, cpp_type=5, label=2,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='count', full_name='mindinsight.Summary.Histogram.bucket.count', index=2,
- number=3, type=3, cpp_type=2, label=2,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=593,
- serialized_end=645,
- )
-
- _SUMMARY_HISTOGRAM = _descriptor.Descriptor(
- name='Histogram',
- full_name='mindinsight.Summary.Histogram',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='buckets', full_name='mindinsight.Summary.Histogram.buckets', index=0,
- number=1, type=11, cpp_type=10, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='nan_count', full_name='mindinsight.Summary.Histogram.nan_count', index=1,
- number=2, type=3, cpp_type=2, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='pos_inf_count', full_name='mindinsight.Summary.Histogram.pos_inf_count', index=2,
- number=3, type=3, cpp_type=2, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='neg_inf_count', full_name='mindinsight.Summary.Histogram.neg_inf_count', index=3,
- number=4, type=3, cpp_type=2, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='max', full_name='mindinsight.Summary.Histogram.max', index=4,
- number=5, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='min', full_name='mindinsight.Summary.Histogram.min', index=5,
- number=6, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='sum', full_name='mindinsight.Summary.Histogram.sum', index=6,
- number=7, type=1, cpp_type=5, label=1,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='count', full_name='mindinsight.Summary.Histogram.count', index=7,
- number=8, type=3, cpp_type=2, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[_SUMMARY_HISTOGRAM_BUCKET, ],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=405,
- serialized_end=645,
- )
-
- _SUMMARY_VALUE = _descriptor.Descriptor(
- name='Value',
- full_name='mindinsight.Summary.Value',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='tag', full_name='mindinsight.Summary.Value.tag', index=0,
- number=1, type=9, cpp_type=9, label=2,
- has_default_value=False, default_value=b"".decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='scalar_value', full_name='mindinsight.Summary.Value.scalar_value', index=1,
- number=3, type=2, cpp_type=6, label=1,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='image', full_name='mindinsight.Summary.Value.image', index=2,
- number=4, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='tensor', full_name='mindinsight.Summary.Value.tensor', index=3,
- number=8, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='histogram', full_name='mindinsight.Summary.Value.histogram', index=4,
- number=9, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- _descriptor.OneofDescriptor(
- name='value', full_name='mindinsight.Summary.Value.value',
- index=0, containing_type=None, fields=[]),
- ],
- serialized_start=648,
- serialized_end=843,
- )
-
- _SUMMARY = _descriptor.Descriptor(
- name='Summary',
- full_name='mindinsight.Summary',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='value', full_name='mindinsight.Summary.value', index=0,
- number=1, type=11, cpp_type=10, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[_SUMMARY_IMAGE, _SUMMARY_HISTOGRAM, _SUMMARY_VALUE, ],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=267,
- serialized_end=843,
- )
-
-
- _EXPLAIN_INFERENCE = _descriptor.Descriptor(
- name='Inference',
- full_name='mindinsight.Explain.Inference',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='ground_truth_prob', full_name='mindinsight.Explain.Inference.ground_truth_prob', index=0,
- number=1, type=2, cpp_type=6, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='predicted_label', full_name='mindinsight.Explain.Inference.predicted_label', index=1,
- number=2, type=5, cpp_type=1, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='predicted_prob', full_name='mindinsight.Explain.Inference.predicted_prob', index=2,
- number=3, type=2, cpp_type=6, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='ground_truth_prob_sd', full_name='mindinsight.Explain.Inference.ground_truth_prob_sd', index=3,
- number=4, type=2, cpp_type=6, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='ground_truth_prob_itl95_low', full_name='mindinsight.Explain.Inference.ground_truth_prob_itl95_low', index=4,
- number=5, type=2, cpp_type=6, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='ground_truth_prob_itl95_hi', full_name='mindinsight.Explain.Inference.ground_truth_prob_itl95_hi', index=5,
- number=6, type=2, cpp_type=6, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='predicted_prob_sd', full_name='mindinsight.Explain.Inference.predicted_prob_sd', index=6,
- number=7, type=2, cpp_type=6, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='predicted_prob_itl95_low', full_name='mindinsight.Explain.Inference.predicted_prob_itl95_low', index=7,
- number=8, type=2, cpp_type=6, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='predicted_prob_itl95_hi', full_name='mindinsight.Explain.Inference.predicted_prob_itl95_hi', index=8,
- number=9, type=2, cpp_type=6, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1147,
- serialized_end=1431,
- )
-
- _EXPLAIN_EXPLANATION = _descriptor.Descriptor(
- name='Explanation',
- full_name='mindinsight.Explain.Explanation',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='explain_method', full_name='mindinsight.Explain.Explanation.explain_method', index=0,
- number=1, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=b"".decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='label', full_name='mindinsight.Explain.Explanation.label', index=1,
- number=2, type=5, cpp_type=1, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='heatmap_path', full_name='mindinsight.Explain.Explanation.heatmap_path', index=2,
- number=3, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=b"".decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1433,
- serialized_end=1507,
- )
-
- _EXPLAIN_BENCHMARK = _descriptor.Descriptor(
- name='Benchmark',
- full_name='mindinsight.Explain.Benchmark',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='benchmark_method', full_name='mindinsight.Explain.Benchmark.benchmark_method', index=0,
- number=1, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=b"".decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='explain_method', full_name='mindinsight.Explain.Benchmark.explain_method', index=1,
- number=2, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=b"".decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='total_score', full_name='mindinsight.Explain.Benchmark.total_score', index=2,
- number=3, type=2, cpp_type=6, label=1,
- has_default_value=False, default_value=float(0),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='label_score', full_name='mindinsight.Explain.Benchmark.label_score', index=3,
- number=4, type=2, cpp_type=6, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1509,
- serialized_end=1612,
- )
-
- _EXPLAIN_METADATA = _descriptor.Descriptor(
- name='Metadata',
- full_name='mindinsight.Explain.Metadata',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='label', full_name='mindinsight.Explain.Metadata.label', index=0,
- number=1, type=9, cpp_type=9, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='explain_method', full_name='mindinsight.Explain.Metadata.explain_method', index=1,
- number=2, type=9, cpp_type=9, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='benchmark_method', full_name='mindinsight.Explain.Metadata.benchmark_method', index=2,
- number=3, type=9, cpp_type=9, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=1614,
- serialized_end=1689,
- )
-
- _EXPLAIN = _descriptor.Descriptor(
- name='Explain',
- full_name='mindinsight.Explain',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- fields=[
- _descriptor.FieldDescriptor(
- name='sample_id', full_name='mindinsight.Explain.sample_id', index=0,
- number=1, type=5, cpp_type=1, label=1,
- has_default_value=False, default_value=0,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='image_path', full_name='mindinsight.Explain.image_path', index=1,
- number=2, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=b"".decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='ground_truth_label', full_name='mindinsight.Explain.ground_truth_label', index=2,
- number=3, type=5, cpp_type=1, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='inference', full_name='mindinsight.Explain.inference', index=3,
- number=4, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='explanation', full_name='mindinsight.Explain.explanation', index=4,
- number=5, type=11, cpp_type=10, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='benchmark', full_name='mindinsight.Explain.benchmark', index=5,
- number=6, type=11, cpp_type=10, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='metadata', full_name='mindinsight.Explain.metadata', index=6,
- number=7, type=11, cpp_type=10, label=1,
- has_default_value=False, default_value=None,
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- _descriptor.FieldDescriptor(
- name='status', full_name='mindinsight.Explain.status', index=7,
- number=8, type=9, cpp_type=9, label=1,
- has_default_value=False, default_value=b"".decode('utf-8'),
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR),
- ],
- extensions=[
- ],
- nested_types=[_EXPLAIN_INFERENCE, _EXPLAIN_EXPLANATION, _EXPLAIN_BENCHMARK, _EXPLAIN_METADATA, ],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto2',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=846,
- serialized_end=1689,
- )
-
- _EVENT.fields_by_name['graph_def'].message_type = mindinsight__anf__ir__pb2._GRAPHPROTO
- _EVENT.fields_by_name['summary'].message_type = _SUMMARY
- _EVENT.fields_by_name['explain'].message_type = _EXPLAIN
- _EVENT.oneofs_by_name['what'].fields.append(
- _EVENT.fields_by_name['version'])
- _EVENT.fields_by_name['version'].containing_oneof = _EVENT.oneofs_by_name['what']
- _EVENT.oneofs_by_name['what'].fields.append(
- _EVENT.fields_by_name['graph_def'])
- _EVENT.fields_by_name['graph_def'].containing_oneof = _EVENT.oneofs_by_name['what']
- _EVENT.oneofs_by_name['what'].fields.append(
- _EVENT.fields_by_name['summary'])
- _EVENT.fields_by_name['summary'].containing_oneof = _EVENT.oneofs_by_name['what']
- _EVENT.oneofs_by_name['what'].fields.append(
- _EVENT.fields_by_name['explain'])
- _EVENT.fields_by_name['explain'].containing_oneof = _EVENT.oneofs_by_name['what']
- _SUMMARY_IMAGE.containing_type = _SUMMARY
- _SUMMARY_HISTOGRAM_BUCKET.containing_type = _SUMMARY_HISTOGRAM
- _SUMMARY_HISTOGRAM.fields_by_name['buckets'].message_type = _SUMMARY_HISTOGRAM_BUCKET
- _SUMMARY_HISTOGRAM.containing_type = _SUMMARY
- _SUMMARY_VALUE.fields_by_name['image'].message_type = _SUMMARY_IMAGE
- _SUMMARY_VALUE.fields_by_name['tensor'].message_type = mindinsight__anf__ir__pb2._TENSORPROTO
- _SUMMARY_VALUE.fields_by_name['histogram'].message_type = _SUMMARY_HISTOGRAM
- _SUMMARY_VALUE.containing_type = _SUMMARY
- _SUMMARY_VALUE.oneofs_by_name['value'].fields.append(
- _SUMMARY_VALUE.fields_by_name['scalar_value'])
- _SUMMARY_VALUE.fields_by_name['scalar_value'].containing_oneof = _SUMMARY_VALUE.oneofs_by_name['value']
- _SUMMARY_VALUE.oneofs_by_name['value'].fields.append(
- _SUMMARY_VALUE.fields_by_name['image'])
- _SUMMARY_VALUE.fields_by_name['image'].containing_oneof = _SUMMARY_VALUE.oneofs_by_name['value']
- _SUMMARY_VALUE.oneofs_by_name['value'].fields.append(
- _SUMMARY_VALUE.fields_by_name['tensor'])
- _SUMMARY_VALUE.fields_by_name['tensor'].containing_oneof = _SUMMARY_VALUE.oneofs_by_name['value']
- _SUMMARY_VALUE.oneofs_by_name['value'].fields.append(
- _SUMMARY_VALUE.fields_by_name['histogram'])
- _SUMMARY_VALUE.fields_by_name['histogram'].containing_oneof = _SUMMARY_VALUE.oneofs_by_name['value']
- _SUMMARY.fields_by_name['value'].message_type = _SUMMARY_VALUE
- _EXPLAIN_INFERENCE.containing_type = _EXPLAIN
- _EXPLAIN_EXPLANATION.containing_type = _EXPLAIN
- _EXPLAIN_BENCHMARK.containing_type = _EXPLAIN
- _EXPLAIN_METADATA.containing_type = _EXPLAIN
- _EXPLAIN.fields_by_name['inference'].message_type = _EXPLAIN_INFERENCE
- _EXPLAIN.fields_by_name['explanation'].message_type = _EXPLAIN_EXPLANATION
- _EXPLAIN.fields_by_name['benchmark'].message_type = _EXPLAIN_BENCHMARK
- _EXPLAIN.fields_by_name['metadata'].message_type = _EXPLAIN_METADATA
- DESCRIPTOR.message_types_by_name['Event'] = _EVENT
- DESCRIPTOR.message_types_by_name['Summary'] = _SUMMARY
- DESCRIPTOR.message_types_by_name['Explain'] = _EXPLAIN
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
-
- Event = _reflection.GeneratedProtocolMessageType('Event', (_message.Message,), {
- 'DESCRIPTOR' : _EVENT,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Event)
- })
- _sym_db.RegisterMessage(Event)
-
- Summary = _reflection.GeneratedProtocolMessageType('Summary', (_message.Message,), {
-
- 'Image' : _reflection.GeneratedProtocolMessageType('Image', (_message.Message,), {
- 'DESCRIPTOR' : _SUMMARY_IMAGE,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Summary.Image)
- })
- ,
-
- 'Histogram' : _reflection.GeneratedProtocolMessageType('Histogram', (_message.Message,), {
-
- 'bucket' : _reflection.GeneratedProtocolMessageType('bucket', (_message.Message,), {
- 'DESCRIPTOR' : _SUMMARY_HISTOGRAM_BUCKET,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Summary.Histogram.bucket)
- })
- ,
- 'DESCRIPTOR' : _SUMMARY_HISTOGRAM,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Summary.Histogram)
- })
- ,
-
- 'Value' : _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), {
- 'DESCRIPTOR' : _SUMMARY_VALUE,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Summary.Value)
- })
- ,
- 'DESCRIPTOR' : _SUMMARY,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Summary)
- })
- _sym_db.RegisterMessage(Summary)
- _sym_db.RegisterMessage(Summary.Image)
- _sym_db.RegisterMessage(Summary.Histogram)
- _sym_db.RegisterMessage(Summary.Histogram.bucket)
- _sym_db.RegisterMessage(Summary.Value)
-
- Explain = _reflection.GeneratedProtocolMessageType('Explain', (_message.Message,), {
-
- 'Inference' : _reflection.GeneratedProtocolMessageType('Inference', (_message.Message,), {
- 'DESCRIPTOR' : _EXPLAIN_INFERENCE,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Explain.Inference)
- })
- ,
-
- 'Explanation' : _reflection.GeneratedProtocolMessageType('Explanation', (_message.Message,), {
- 'DESCRIPTOR' : _EXPLAIN_EXPLANATION,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Explain.Explanation)
- })
- ,
-
- 'Benchmark' : _reflection.GeneratedProtocolMessageType('Benchmark', (_message.Message,), {
- 'DESCRIPTOR' : _EXPLAIN_BENCHMARK,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Explain.Benchmark)
- })
- ,
-
- 'Metadata' : _reflection.GeneratedProtocolMessageType('Metadata', (_message.Message,), {
- 'DESCRIPTOR' : _EXPLAIN_METADATA,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Explain.Metadata)
- })
- ,
- 'DESCRIPTOR' : _EXPLAIN,
- '__module__' : 'mindinsight_summary_pb2'
- # @@protoc_insertion_point(class_scope:mindinsight.Explain)
- })
- _sym_db.RegisterMessage(Explain)
- _sym_db.RegisterMessage(Explain.Inference)
- _sym_db.RegisterMessage(Explain.Explanation)
- _sym_db.RegisterMessage(Explain.Benchmark)
- _sym_db.RegisterMessage(Explain.Metadata)
-
-
- DESCRIPTOR._options = None
- # @@protoc_insertion_point(module_scope)
|