#   Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Copyright (c) ONNX Project Contributors.
# Licensed under the MIT license.

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: onnx/onnx_ONNX_REL_1_7-ml.proto

import sys
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1'))
from google.protobuf.internal import enum_type_wrapper
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
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()

DESCRIPTOR = _descriptor.FileDescriptor(
    name='onnx/onnx_ONNX_REL_1_7-ml.proto',
    package='ONNX_REL_1_7',
    serialized_pb=_b(
        '\n\x1fonnx/onnx_ONNX_REL_1_7-ml.proto\x12\x0cONNX_REL_1_7\"\xa0\x05\n\x0e\x41ttributeProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rref_attr_name\x18\x15 \x01(\t\x12\x12\n\ndoc_string\x18\r \x01(\t\x12\x38\n\x04type\x18\x14 \x01(\x0e\x32*.ONNX_REL_1_7.AttributeProto.AttributeType\x12\t\n\x01\x66\x18\x02 \x01(\x02\x12\t\n\x01i\x18\x03 \x01(\x03\x12\t\n\x01s\x18\x04 \x01(\x0c\x12$\n\x01t\x18\x05 \x01(\x0b\x32\x19.ONNX_REL_1_7.TensorProto\x12#\n\x01g\x18\x06 \x01(\x0b\x32\x18.ONNX_REL_1_7.GraphProto\x12\x36\n\rsparse_tensor\x18\x16 \x01(\x0b\x32\x1f.ONNX_REL_1_7.SparseTensorProto\x12\x0e\n\x06\x66loats\x18\x07 \x03(\x02\x12\x0c\n\x04ints\x18\x08 \x03(\x03\x12\x0f\n\x07strings\x18\t \x03(\x0c\x12*\n\x07tensors\x18\n \x03(\x0b\x32\x19.ONNX_REL_1_7.TensorProto\x12(\n\x06graphs\x18\x0b \x03(\x0b\x32\x18.ONNX_REL_1_7.GraphProto\x12\x37\n\x0esparse_tensors\x18\x17 \x03(\x0b\x32\x1f.ONNX_REL_1_7.SparseTensorProto\"\xb8\x01\n\rAttributeType\x12\r\n\tUNDEFINED\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\x07\n\x03INT\x10\x02\x12\n\n\x06STRING\x10\x03\x12\n\n\x06TENSOR\x10\x04\x12\t\n\x05GRAPH\x10\x05\x12\x11\n\rSPARSE_TENSOR\x10\x0b\x12\n\n\x06\x46LOATS\x10\x06\x12\x08\n\x04INTS\x10\x07\x12\x0b\n\x07STRINGS\x10\x08\x12\x0b\n\x07TENSORS\x10\t\x12\n\n\x06GRAPHS\x10\n\x12\x12\n\x0eSPARSE_TENSORS\x10\x0c\"Y\n\x0eValueInfoProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12%\n\x04type\x18\x02 \x01(\x0b\x32\x17.ONNX_REL_1_7.TypeProto\x12\x12\n\ndoc_string\x18\x03 \x01(\t\"\x9e\x01\n\tNodeProto\x12\r\n\x05input\x18\x01 \x03(\t\x12\x0e\n\x06output\x18\x02 \x03(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07op_type\x18\x04 \x01(\t\x12\x0e\n\x06\x64omain\x18\x07 \x01(\t\x12/\n\tattribute\x18\x05 \x03(\x0b\x32\x1c.ONNX_REL_1_7.AttributeProto\x12\x12\n\ndoc_string\x18\x06 \x01(\t\"\xf6\x01\n\x11TrainingInfoProto\x12\x30\n\x0einitialization\x18\x01 \x01(\x0b\x32\x18.ONNX_REL_1_7.GraphProto\x12+\n\talgorithm\x18\x02 \x01(\x0b\x32\x18.ONNX_REL_1_7.GraphProto\x12\x44\n\x16initialization_binding\x18\x03 \x03(\x0b\x32$.ONNX_REL_1_7.StringStringEntryProto\x12<\n\x0eupdate_binding\x18\x04 \x03(\x0b\x32$.ONNX_REL_1_7.StringStringEntryProto\"\xe3\x02\n\nModelProto\x12\x12\n\nir_version\x18\x01 \x01(\x03\x12\x36\n\x0copset_import\x18\x08 \x03(\x0b\x32 .ONNX_REL_1_7.OperatorSetIdProto\x12\x15\n\rproducer_name\x18\x02 \x01(\t\x12\x18\n\x10producer_version\x18\x03 \x01(\t\x12\x0e\n\x06\x64omain\x18\x04 \x01(\t\x12\x15\n\rmodel_version\x18\x05 \x01(\x03\x12\x12\n\ndoc_string\x18\x06 \x01(\t\x12\'\n\x05graph\x18\x07 \x01(\x0b\x32\x18.ONNX_REL_1_7.GraphProto\x12<\n\x0emetadata_props\x18\x0e \x03(\x0b\x32$.ONNX_REL_1_7.StringStringEntryProto\x12\x36\n\rtraining_info\x18\x14 \x03(\x0b\x32\x1f.ONNX_REL_1_7.TrainingInfoProto\"4\n\x16StringStringEntryProto\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"s\n\x10TensorAnnotation\x12\x13\n\x0btensor_name\x18\x01 \x01(\t\x12J\n\x1cquant_parameter_tensor_names\x18\x02 \x03(\x0b\x32$.ONNX_REL_1_7.StringStringEntryProto\"\x90\x03\n\nGraphProto\x12%\n\x04node\x18\x01 \x03(\x0b\x32\x17.ONNX_REL_1_7.NodeProto\x12\x0c\n\x04name\x18\x02 \x01(\t\x12.\n\x0binitializer\x18\x05 \x03(\x0b\x32\x19.ONNX_REL_1_7.TensorProto\x12;\n\x12sparse_initializer\x18\x0f \x03(\x0b\x32\x1f.ONNX_REL_1_7.SparseTensorProto\x12\x12\n\ndoc_string\x18\n \x01(\t\x12+\n\x05input\x18\x0b \x03(\x0b\x32\x1c.ONNX_REL_1_7.ValueInfoProto\x12,\n\x06output\x18\x0c \x03(\x0b\x32\x1c.ONNX_REL_1_7.ValueInfoProto\x12\x30\n\nvalue_info\x18\r \x03(\x0b\x32\x1c.ONNX_REL_1_7.ValueInfoProto\x12?\n\x17quantization_annotation\x18\x0e \x03(\x0b\x32\x1e.ONNX_REL_1_7.TensorAnnotation\"\xd0\x05\n\x0bTensorProto\x12\x0c\n\x04\x64ims\x18\x01 \x03(\x03\x12\x11\n\tdata_type\x18\x02 \x01(\x05\x12\x32\n\x07segment\x18\x03 \x01(\x0b\x32!.ONNX_REL_1_7.TensorProto.Segment\x12\x16\n\nfloat_data\x18\x04 \x03(\x02\x42\x02\x10\x01\x12\x16\n\nint32_data\x18\x05 \x03(\x05\x42\x02\x10\x01\x12\x13\n\x0bstring_data\x18\x06 \x03(\x0c\x12\x16\n\nint64_data\x18\x07 \x03(\x03\x42\x02\x10\x01\x12\x0c\n\x04name\x18\x08 \x01(\t\x12\x12\n\ndoc_string\x18\x0c \x01(\t\x12\x10\n\x08raw_data\x18\t \x01(\x0c\x12;\n\rexternal_data\x18\r \x03(\x0b\x32$.ONNX_REL_1_7.StringStringEntryProto\x12=\n\rdata_location\x18\x0e \x01(\x0e\x32&.ONNX_REL_1_7.TensorProto.DataLocation\x12\x17\n\x0b\x64ouble_data\x18\n \x03(\x01\x42\x02\x10\x01\x12\x17\n\x0buint64_data\x18\x0b \x03(\x04\x42\x02\x10\x01\x1a%\n\x07Segment\x12\r\n\x05\x62\x65gin\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\"\xda\x01\n\x08\x44\x61taType\x12\r\n\tUNDEFINED\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\t\n\x05UINT8\x10\x02\x12\x08\n\x04INT8\x10\x03\x12\n\n\x06UINT16\x10\x04\x12\t\n\x05INT16\x10\x05\x12\t\n\x05INT32\x10\x06\x12\t\n\x05INT64\x10\x07\x12\n\n\x06STRING\x10\x08\x12\x08\n\x04\x42OOL\x10\t\x12\x0b\n\x07\x46LOAT16\x10\n\x12\n\n\x06\x44OUBLE\x10\x0b\x12\n\n\x06UINT32\x10\x0c\x12\n\n\x06UINT64\x10\r\x12\r\n\tCOMPLEX64\x10\x0e\x12\x0e\n\nCOMPLEX128\x10\x0f\x12\x0c\n\x08\x42\x46LOAT16\x10\x10\")\n\x0c\x44\x61taLocation\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0c\n\x08\x45XTERNAL\x10\x01\"x\n\x11SparseTensorProto\x12)\n\x06values\x18\x01 \x01(\x0b\x32\x19.ONNX_REL_1_7.TensorProto\x12*\n\x07indices\x18\x02 \x01(\x0b\x32\x19.ONNX_REL_1_7.TensorProto\x12\x0c\n\x04\x64ims\x18\x03 \x03(\x03\"\x9d\x01\n\x10TensorShapeProto\x12\x35\n\x03\x64im\x18\x01 \x03(\x0b\x32(.ONNX_REL_1_7.TensorShapeProto.Dimension\x1aR\n\tDimension\x12\x13\n\tdim_value\x18\x01 \x01(\x03H\x00\x12\x13\n\tdim_param\x18\x02 \x01(\tH\x00\x12\x12\n\ndenotation\x18\x03 \x01(\tB\x07\n\x05value\"\x8a\x05\n\tTypeProto\x12\x35\n\x0btensor_type\x18\x01 \x01(\x0b\x32\x1e.ONNX_REL_1_7.TypeProto.TensorH\x00\x12\x39\n\rsequence_type\x18\x04 \x01(\x0b\x32 .ONNX_REL_1_7.TypeProto.SequenceH\x00\x12/\n\x08map_type\x18\x05 \x01(\x0b\x32\x1b.ONNX_REL_1_7.TypeProto.MapH\x00\x12\x42\n\x12sparse_tensor_type\x18\x08 \x01(\x0b\x32$.ONNX_REL_1_7.TypeProto.SparseTensorH\x00\x12\x35\n\x0bopaque_type\x18\x07 \x01(\x0b\x32\x1e.ONNX_REL_1_7.TypeProto.OpaqueH\x00\x12\x12\n\ndenotation\x18\x06 \x01(\t\x1aJ\n\x06Tensor\x12\x11\n\telem_type\x18\x01 \x01(\x05\x12-\n\x05shape\x18\x02 \x01(\x0b\x32\x1e.ONNX_REL_1_7.TensorShapeProto\x1a\x36\n\x08Sequence\x12*\n\telem_type\x18\x01 \x01(\x0b\x32\x17.ONNX_REL_1_7.TypeProto\x1a\x44\n\x03Map\x12\x10\n\x08key_type\x18\x01 \x01(\x05\x12+\n\nvalue_type\x18\x02 \x01(\x0b\x32\x17.ONNX_REL_1_7.TypeProto\x1aP\n\x0cSparseTensor\x12\x11\n\telem_type\x18\x01 \x01(\x05\x12-\n\x05shape\x18\x02 \x01(\x0b\x32\x1e.ONNX_REL_1_7.TensorShapeProto\x1a&\n\x06Opaque\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\tB\x07\n\x05value\"5\n\x12OperatorSetIdProto\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\x03*\xcb\x01\n\x07Version\x12\x12\n\x0e_START_VERSION\x10\x00\x12\x19\n\x15IR_VERSION_2017_10_10\x10\x01\x12\x19\n\x15IR_VERSION_2017_10_30\x10\x02\x12\x18\n\x14IR_VERSION_2017_11_3\x10\x03\x12\x18\n\x14IR_VERSION_2019_1_22\x10\x04\x12\x18\n\x14IR_VERSION_2019_3_18\x10\x05\x12\x18\n\x14IR_VERSION_2019_9_19\x10\x06\x12\x0e\n\nIR_VERSION\x10\x07'
    ))
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

_VERSION = _descriptor.EnumDescriptor(
    name='Version',
    full_name='ONNX_REL_1_7.Version',
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name='_START_VERSION', index=0, number=0, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='IR_VERSION_2017_10_10',
            index=1,
            number=1,
            options=None,
            type=None),
        _descriptor.EnumValueDescriptor(
            name='IR_VERSION_2017_10_30',
            index=2,
            number=2,
            options=None,
            type=None),
        _descriptor.EnumValueDescriptor(
            name='IR_VERSION_2017_11_3',
            index=3,
            number=3,
            options=None,
            type=None),
        _descriptor.EnumValueDescriptor(
            name='IR_VERSION_2019_1_22',
            index=4,
            number=4,
            options=None,
            type=None),
        _descriptor.EnumValueDescriptor(
            name='IR_VERSION_2019_3_18',
            index=5,
            number=5,
            options=None,
            type=None),
        _descriptor.EnumValueDescriptor(
            name='IR_VERSION_2019_9_19',
            index=6,
            number=6,
            options=None,
            type=None),
        _descriptor.EnumValueDescriptor(
            name='IR_VERSION', index=7, number=7, options=None, type=None),
    ],
    containing_type=None,
    options=None,
    serialized_start=3871,
    serialized_end=4074, )
_sym_db.RegisterEnumDescriptor(_VERSION)

Version = enum_type_wrapper.EnumTypeWrapper(_VERSION)
_START_VERSION = 0
IR_VERSION_2017_10_10 = 1
IR_VERSION_2017_10_30 = 2
IR_VERSION_2017_11_3 = 3
IR_VERSION_2019_1_22 = 4
IR_VERSION_2019_3_18 = 5
IR_VERSION_2019_9_19 = 6
IR_VERSION = 7

_ATTRIBUTEPROTO_ATTRIBUTETYPE = _descriptor.EnumDescriptor(
    name='AttributeType',
    full_name='ONNX_REL_1_7.AttributeProto.AttributeType',
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name='UNDEFINED', index=0, number=0, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='FLOAT', index=1, number=1, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='INT', index=2, number=2, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='STRING', index=3, number=3, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='TENSOR', index=4, number=4, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='GRAPH', index=5, number=5, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='SPARSE_TENSOR', index=6, number=11, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='FLOATS', index=7, number=6, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='INTS', index=8, number=7, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='STRINGS', index=9, number=8, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='TENSORS', index=10, number=9, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='GRAPHS', index=11, number=10, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='SPARSE_TENSORS', index=12, number=12, options=None,
            type=None),
    ],
    containing_type=None,
    options=None,
    serialized_start=538,
    serialized_end=722, )
_sym_db.RegisterEnumDescriptor(_ATTRIBUTEPROTO_ATTRIBUTETYPE)

_TENSORPROTO_DATATYPE = _descriptor.EnumDescriptor(
    name='DataType',
    full_name='ONNX_REL_1_7.TensorProto.DataType',
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name='UNDEFINED', index=0, number=0, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='FLOAT', index=1, number=1, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='UINT8', index=2, number=2, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='INT8', index=3, number=3, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='UINT16', index=4, number=4, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='INT16', index=5, number=5, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='INT32', index=6, number=6, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='INT64', index=7, number=7, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='STRING', index=8, number=8, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='BOOL', index=9, number=9, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='FLOAT16', index=10, number=10, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='DOUBLE', index=11, number=11, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='UINT32', index=12, number=12, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='UINT64', index=13, number=13, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='COMPLEX64', index=14, number=14, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='COMPLEX128', index=15, number=15, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='BFLOAT16', index=16, number=16, options=None, type=None),
    ],
    containing_type=None,
    options=None,
    serialized_start=2617,
    serialized_end=2835, )
_sym_db.RegisterEnumDescriptor(_TENSORPROTO_DATATYPE)

_TENSORPROTO_DATALOCATION = _descriptor.EnumDescriptor(
    name='DataLocation',
    full_name='ONNX_REL_1_7.TensorProto.DataLocation',
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name='DEFAULT', index=0, number=0, options=None, type=None),
        _descriptor.EnumValueDescriptor(
            name='EXTERNAL', index=1, number=1, options=None, type=None),
    ],
    containing_type=None,
    options=None,
    serialized_start=2837,
    serialized_end=2878, )
_sym_db.RegisterEnumDescriptor(_TENSORPROTO_DATALOCATION)

_ATTRIBUTEPROTO = _descriptor.Descriptor(
    name='AttributeProto',
    full_name='ONNX_REL_1_7.AttributeProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='name',
            full_name='ONNX_REL_1_7.AttributeProto.name',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='ref_attr_name',
            full_name='ONNX_REL_1_7.AttributeProto.ref_attr_name',
            index=1,
            number=21,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='doc_string',
            full_name='ONNX_REL_1_7.AttributeProto.doc_string',
            index=2,
            number=13,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='type',
            full_name='ONNX_REL_1_7.AttributeProto.type',
            index=3,
            number=20,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None),
        _descriptor.FieldDescriptor(
            name='f',
            full_name='ONNX_REL_1_7.AttributeProto.f',
            index=4,
            number=2,
            type=2,
            cpp_type=6,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None),
        _descriptor.FieldDescriptor(
            name='i',
            full_name='ONNX_REL_1_7.AttributeProto.i',
            index=5,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='s',
            full_name='ONNX_REL_1_7.AttributeProto.s',
            index=6,
            number=4,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None),
        _descriptor.FieldDescriptor(
            name='t',
            full_name='ONNX_REL_1_7.AttributeProto.t',
            index=7,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='g',
            full_name='ONNX_REL_1_7.AttributeProto.g',
            index=8,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='sparse_tensor',
            full_name='ONNX_REL_1_7.AttributeProto.sparse_tensor',
            index=9,
            number=22,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='floats',
            full_name='ONNX_REL_1_7.AttributeProto.floats',
            index=10,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='ints',
            full_name='ONNX_REL_1_7.AttributeProto.ints',
            index=11,
            number=8,
            type=3,
            cpp_type=2,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None),
        _descriptor.FieldDescriptor(
            name='strings',
            full_name='ONNX_REL_1_7.AttributeProto.strings',
            index=12,
            number=9,
            type=12,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='tensors',
            full_name='ONNX_REL_1_7.AttributeProto.tensors',
            index=13,
            number=10,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='graphs',
            full_name='ONNX_REL_1_7.AttributeProto.graphs',
            index=14,
            number=11,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='sparse_tensors',
            full_name='ONNX_REL_1_7.AttributeProto.sparse_tensors',
            index=15,
            number=23,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[_ATTRIBUTEPROTO_ATTRIBUTETYPE, ],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=50,
    serialized_end=722, )

_VALUEINFOPROTO = _descriptor.Descriptor(
    name='ValueInfoProto',
    full_name='ONNX_REL_1_7.ValueInfoProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='name',
            full_name='ONNX_REL_1_7.ValueInfoProto.name',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='type',
            full_name='ONNX_REL_1_7.ValueInfoProto.type',
            index=1,
            number=2,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='doc_string',
            full_name='ONNX_REL_1_7.ValueInfoProto.doc_string',
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=724,
    serialized_end=813, )

_NODEPROTO = _descriptor.Descriptor(
    name='NodeProto',
    full_name='ONNX_REL_1_7.NodeProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='input',
            full_name='ONNX_REL_1_7.NodeProto.input',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='output',
            full_name='ONNX_REL_1_7.NodeProto.output',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='name',
            full_name='ONNX_REL_1_7.NodeProto.name',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='op_type',
            full_name='ONNX_REL_1_7.NodeProto.op_type',
            index=3,
            number=4,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='domain',
            full_name='ONNX_REL_1_7.NodeProto.domain',
            index=4,
            number=7,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='attribute',
            full_name='ONNX_REL_1_7.NodeProto.attribute',
            index=5,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='doc_string',
            full_name='ONNX_REL_1_7.NodeProto.doc_string',
            index=6,
            number=6,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=816,
    serialized_end=974, )

_TRAININGINFOPROTO = _descriptor.Descriptor(
    name='TrainingInfoProto',
    full_name='ONNX_REL_1_7.TrainingInfoProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='initialization',
            full_name='ONNX_REL_1_7.TrainingInfoProto.initialization',
            index=0,
            number=1,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='algorithm',
            full_name='ONNX_REL_1_7.TrainingInfoProto.algorithm',
            index=1,
            number=2,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='initialization_binding',
            full_name='ONNX_REL_1_7.TrainingInfoProto.initialization_binding',
            index=2,
            number=3,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='update_binding',
            full_name='ONNX_REL_1_7.TrainingInfoProto.update_binding',
            index=3,
            number=4,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=977,
    serialized_end=1223, )

_MODELPROTO = _descriptor.Descriptor(
    name='ModelProto',
    full_name='ONNX_REL_1_7.ModelProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='ir_version',
            full_name='ONNX_REL_1_7.ModelProto.ir_version',
            index=0,
            number=1,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='opset_import',
            full_name='ONNX_REL_1_7.ModelProto.opset_import',
            index=1,
            number=8,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='producer_name',
            full_name='ONNX_REL_1_7.ModelProto.producer_name',
            index=2,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='producer_version',
            full_name='ONNX_REL_1_7.ModelProto.producer_version',
            index=3,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='domain',
            full_name='ONNX_REL_1_7.ModelProto.domain',
            index=4,
            number=4,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='model_version',
            full_name='ONNX_REL_1_7.ModelProto.model_version',
            index=5,
            number=5,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='doc_string',
            full_name='ONNX_REL_1_7.ModelProto.doc_string',
            index=6,
            number=6,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='graph',
            full_name='ONNX_REL_1_7.ModelProto.graph',
            index=7,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='metadata_props',
            full_name='ONNX_REL_1_7.ModelProto.metadata_props',
            index=8,
            number=14,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='training_info',
            full_name='ONNX_REL_1_7.ModelProto.training_info',
            index=9,
            number=20,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=1226,
    serialized_end=1581, )

_STRINGSTRINGENTRYPROTO = _descriptor.Descriptor(
    name='StringStringEntryProto',
    full_name='ONNX_REL_1_7.StringStringEntryProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='key',
            full_name='ONNX_REL_1_7.StringStringEntryProto.key',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='value',
            full_name='ONNX_REL_1_7.StringStringEntryProto.value',
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=1583,
    serialized_end=1635, )

_TENSORANNOTATION = _descriptor.Descriptor(
    name='TensorAnnotation',
    full_name='ONNX_REL_1_7.TensorAnnotation',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='tensor_name',
            full_name='ONNX_REL_1_7.TensorAnnotation.tensor_name',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='quant_parameter_tensor_names',
            full_name='ONNX_REL_1_7.TensorAnnotation.quant_parameter_tensor_names',
            index=1,
            number=2,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=1637,
    serialized_end=1752, )

_GRAPHPROTO = _descriptor.Descriptor(
    name='GraphProto',
    full_name='ONNX_REL_1_7.GraphProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='node',
            full_name='ONNX_REL_1_7.GraphProto.node',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='name',
            full_name='ONNX_REL_1_7.GraphProto.name',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='initializer',
            full_name='ONNX_REL_1_7.GraphProto.initializer',
            index=2,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='sparse_initializer',
            full_name='ONNX_REL_1_7.GraphProto.sparse_initializer',
            index=3,
            number=15,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='doc_string',
            full_name='ONNX_REL_1_7.GraphProto.doc_string',
            index=4,
            number=10,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='input',
            full_name='ONNX_REL_1_7.GraphProto.input',
            index=5,
            number=11,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='output',
            full_name='ONNX_REL_1_7.GraphProto.output',
            index=6,
            number=12,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='value_info',
            full_name='ONNX_REL_1_7.GraphProto.value_info',
            index=7,
            number=13,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='quantization_annotation',
            full_name='ONNX_REL_1_7.GraphProto.quantization_annotation',
            index=8,
            number=14,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=1755,
    serialized_end=2155, )

_TENSORPROTO_SEGMENT = _descriptor.Descriptor(
    name='Segment',
    full_name='ONNX_REL_1_7.TensorProto.Segment',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='begin',
            full_name='ONNX_REL_1_7.TensorProto.Segment.begin',
            index=0,
            number=1,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='end',
            full_name='ONNX_REL_1_7.TensorProto.Segment.end',
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=2577,
    serialized_end=2614, )

_TENSORPROTO = _descriptor.Descriptor(
    name='TensorProto',
    full_name='ONNX_REL_1_7.TensorProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='dims',
            full_name='ONNX_REL_1_7.TensorProto.dims',
            index=0,
            number=1,
            type=3,
            cpp_type=2,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None),
        _descriptor.FieldDescriptor(
            name='data_type',
            full_name='ONNX_REL_1_7.TensorProto.data_type',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='segment',
            full_name='ONNX_REL_1_7.TensorProto.segment',
            index=2,
            number=3,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='float_data',
            full_name='ONNX_REL_1_7.TensorProto.float_data',
            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,
            options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(),
                                              _b('\020\001'))),
        _descriptor.FieldDescriptor(
            name='int32_data',
            full_name='ONNX_REL_1_7.TensorProto.int32_data',
            index=4,
            number=5,
            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,
            options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(),
                                              _b('\020\001'))),
        _descriptor.FieldDescriptor(
            name='string_data',
            full_name='ONNX_REL_1_7.TensorProto.string_data',
            index=5,
            number=6,
            type=12,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='int64_data',
            full_name='ONNX_REL_1_7.TensorProto.int64_data',
            index=6,
            number=7,
            type=3,
            cpp_type=2,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(),
                                              _b('\020\001'))),
        _descriptor.FieldDescriptor(
            name='name',
            full_name='ONNX_REL_1_7.TensorProto.name',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='doc_string',
            full_name='ONNX_REL_1_7.TensorProto.doc_string',
            index=8,
            number=12,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='raw_data',
            full_name='ONNX_REL_1_7.TensorProto.raw_data',
            index=9,
            number=9,
            type=12,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b(""),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None),
        _descriptor.FieldDescriptor(
            name='external_data',
            full_name='ONNX_REL_1_7.TensorProto.external_data',
            index=10,
            number=13,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='data_location',
            full_name='ONNX_REL_1_7.TensorProto.data_location',
            index=11,
            number=14,
            type=14,
            cpp_type=8,
            label=1,
            has_default_value=False,
            default_value=0,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None),
        _descriptor.FieldDescriptor(
            name='double_data',
            full_name='ONNX_REL_1_7.TensorProto.double_data',
            index=12,
            number=10,
            type=1,
            cpp_type=5,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(),
                                              _b('\020\001'))),
        _descriptor.FieldDescriptor(
            name='uint64_data',
            full_name='ONNX_REL_1_7.TensorProto.uint64_data',
            index=13,
            number=11,
            type=4,
            cpp_type=4,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(),
                                              _b('\020\001'))),
    ],
    extensions=[],
    nested_types=[_TENSORPROTO_SEGMENT, ],
    enum_types=[
        _TENSORPROTO_DATATYPE,
        _TENSORPROTO_DATALOCATION,
    ],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=2158,
    serialized_end=2878, )

_SPARSETENSORPROTO = _descriptor.Descriptor(
    name='SparseTensorProto',
    full_name='ONNX_REL_1_7.SparseTensorProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='values',
            full_name='ONNX_REL_1_7.SparseTensorProto.values',
            index=0,
            number=1,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='indices',
            full_name='ONNX_REL_1_7.SparseTensorProto.indices',
            index=1,
            number=2,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='dims',
            full_name='ONNX_REL_1_7.SparseTensorProto.dims',
            index=2,
            number=3,
            type=3,
            cpp_type=2,
            label=3,
            has_default_value=False,
            default_value=[],
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=2880,
    serialized_end=3000, )

_TENSORSHAPEPROTO_DIMENSION = _descriptor.Descriptor(
    name='Dimension',
    full_name='ONNX_REL_1_7.TensorShapeProto.Dimension',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='dim_value',
            full_name='ONNX_REL_1_7.TensorShapeProto.Dimension.dim_value',
            index=0,
            number=1,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='dim_param',
            full_name='ONNX_REL_1_7.TensorShapeProto.Dimension.dim_param',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='denotation',
            full_name='ONNX_REL_1_7.TensorShapeProto.Dimension.denotation',
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name='value',
            full_name='ONNX_REL_1_7.TensorShapeProto.Dimension.value',
            index=0,
            containing_type=None,
            fields=[]),
    ],
    serialized_start=3078,
    serialized_end=3160, )

_TENSORSHAPEPROTO = _descriptor.Descriptor(
    name='TensorShapeProto',
    full_name='ONNX_REL_1_7.TensorShapeProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='dim',
            full_name='ONNX_REL_1_7.TensorShapeProto.dim',
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[_TENSORSHAPEPROTO_DIMENSION, ],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=3003,
    serialized_end=3160, )

_TYPEPROTO_TENSOR = _descriptor.Descriptor(
    name='Tensor',
    full_name='ONNX_REL_1_7.TypeProto.Tensor',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='elem_type',
            full_name='ONNX_REL_1_7.TypeProto.Tensor.elem_type',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='shape',
            full_name='ONNX_REL_1_7.TypeProto.Tensor.shape',
            index=1,
            number=2,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=3482,
    serialized_end=3556, )

_TYPEPROTO_SEQUENCE = _descriptor.Descriptor(
    name='Sequence',
    full_name='ONNX_REL_1_7.TypeProto.Sequence',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='elem_type',
            full_name='ONNX_REL_1_7.TypeProto.Sequence.elem_type',
            index=0,
            number=1,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=3558,
    serialized_end=3612, )

_TYPEPROTO_MAP = _descriptor.Descriptor(
    name='Map',
    full_name='ONNX_REL_1_7.TypeProto.Map',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='key_type',
            full_name='ONNX_REL_1_7.TypeProto.Map.key_type',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='value_type',
            full_name='ONNX_REL_1_7.TypeProto.Map.value_type',
            index=1,
            number=2,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=3614,
    serialized_end=3682, )

_TYPEPROTO_SPARSETENSOR = _descriptor.Descriptor(
    name='SparseTensor',
    full_name='ONNX_REL_1_7.TypeProto.SparseTensor',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='elem_type',
            full_name='ONNX_REL_1_7.TypeProto.SparseTensor.elem_type',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='shape',
            full_name='ONNX_REL_1_7.TypeProto.SparseTensor.shape',
            index=1,
            number=2,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=3684,
    serialized_end=3764, )

_TYPEPROTO_OPAQUE = _descriptor.Descriptor(
    name='Opaque',
    full_name='ONNX_REL_1_7.TypeProto.Opaque',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='domain',
            full_name='ONNX_REL_1_7.TypeProto.Opaque.domain',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='name',
            full_name='ONNX_REL_1_7.TypeProto.Opaque.name',
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=3766,
    serialized_end=3804, )

_TYPEPROTO = _descriptor.Descriptor(
    name='TypeProto',
    full_name='ONNX_REL_1_7.TypeProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='tensor_type',
            full_name='ONNX_REL_1_7.TypeProto.tensor_type',
            index=0,
            number=1,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='sequence_type',
            full_name='ONNX_REL_1_7.TypeProto.sequence_type',
            index=1,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='map_type',
            full_name='ONNX_REL_1_7.TypeProto.map_type',
            index=2,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='sparse_tensor_type',
            full_name='ONNX_REL_1_7.TypeProto.sparse_tensor_type',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='opaque_type',
            full_name='ONNX_REL_1_7.TypeProto.opaque_type',
            index=4,
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='denotation',
            full_name='ONNX_REL_1_7.TypeProto.denotation',
            index=5,
            number=6,
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[
        _TYPEPROTO_TENSOR,
        _TYPEPROTO_SEQUENCE,
        _TYPEPROTO_MAP,
        _TYPEPROTO_SPARSETENSOR,
        _TYPEPROTO_OPAQUE,
    ],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name='value',
            full_name='ONNX_REL_1_7.TypeProto.value',
            index=0,
            containing_type=None,
            fields=[]),
    ],
    serialized_start=3163,
    serialized_end=3813, )

_OPERATORSETIDPROTO = _descriptor.Descriptor(
    name='OperatorSetIdProto',
    full_name='ONNX_REL_1_7.OperatorSetIdProto',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name='domain',
            full_name='ONNX_REL_1_7.OperatorSetIdProto.domain',
            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,
            options=None),
        _descriptor.FieldDescriptor(
            name='version',
            full_name='ONNX_REL_1_7.OperatorSetIdProto.version',
            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,
            options=None),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    options=None,
    is_extendable=False,
    extension_ranges=[],
    oneofs=[],
    serialized_start=3815,
    serialized_end=3868, )

_ATTRIBUTEPROTO.fields_by_name['type'].enum_type = _ATTRIBUTEPROTO_ATTRIBUTETYPE
_ATTRIBUTEPROTO.fields_by_name['t'].message_type = _TENSORPROTO
_ATTRIBUTEPROTO.fields_by_name['g'].message_type = _GRAPHPROTO
_ATTRIBUTEPROTO.fields_by_name[
    'sparse_tensor'].message_type = _SPARSETENSORPROTO
_ATTRIBUTEPROTO.fields_by_name['tensors'].message_type = _TENSORPROTO
_ATTRIBUTEPROTO.fields_by_name['graphs'].message_type = _GRAPHPROTO
_ATTRIBUTEPROTO.fields_by_name[
    'sparse_tensors'].message_type = _SPARSETENSORPROTO
_ATTRIBUTEPROTO_ATTRIBUTETYPE.containing_type = _ATTRIBUTEPROTO
_VALUEINFOPROTO.fields_by_name['type'].message_type = _TYPEPROTO
_NODEPROTO.fields_by_name['attribute'].message_type = _ATTRIBUTEPROTO
_TRAININGINFOPROTO.fields_by_name['initialization'].message_type = _GRAPHPROTO
_TRAININGINFOPROTO.fields_by_name['algorithm'].message_type = _GRAPHPROTO
_TRAININGINFOPROTO.fields_by_name[
    'initialization_binding'].message_type = _STRINGSTRINGENTRYPROTO
_TRAININGINFOPROTO.fields_by_name[
    'update_binding'].message_type = _STRINGSTRINGENTRYPROTO
_MODELPROTO.fields_by_name['opset_import'].message_type = _OPERATORSETIDPROTO
_MODELPROTO.fields_by_name['graph'].message_type = _GRAPHPROTO
_MODELPROTO.fields_by_name[
    'metadata_props'].message_type = _STRINGSTRINGENTRYPROTO
_MODELPROTO.fields_by_name['training_info'].message_type = _TRAININGINFOPROTO
_TENSORANNOTATION.fields_by_name[
    'quant_parameter_tensor_names'].message_type = _STRINGSTRINGENTRYPROTO
_GRAPHPROTO.fields_by_name['node'].message_type = _NODEPROTO
_GRAPHPROTO.fields_by_name['initializer'].message_type = _TENSORPROTO
_GRAPHPROTO.fields_by_name[
    'sparse_initializer'].message_type = _SPARSETENSORPROTO
_GRAPHPROTO.fields_by_name['input'].message_type = _VALUEINFOPROTO
_GRAPHPROTO.fields_by_name['output'].message_type = _VALUEINFOPROTO
_GRAPHPROTO.fields_by_name['value_info'].message_type = _VALUEINFOPROTO
_GRAPHPROTO.fields_by_name[
    'quantization_annotation'].message_type = _TENSORANNOTATION
_TENSORPROTO_SEGMENT.containing_type = _TENSORPROTO
_TENSORPROTO.fields_by_name['segment'].message_type = _TENSORPROTO_SEGMENT
_TENSORPROTO.fields_by_name[
    'external_data'].message_type = _STRINGSTRINGENTRYPROTO
_TENSORPROTO.fields_by_name[
    'data_location'].enum_type = _TENSORPROTO_DATALOCATION
_TENSORPROTO_DATATYPE.containing_type = _TENSORPROTO
_TENSORPROTO_DATALOCATION.containing_type = _TENSORPROTO
_SPARSETENSORPROTO.fields_by_name['values'].message_type = _TENSORPROTO
_SPARSETENSORPROTO.fields_by_name['indices'].message_type = _TENSORPROTO
_TENSORSHAPEPROTO_DIMENSION.containing_type = _TENSORSHAPEPROTO
_TENSORSHAPEPROTO_DIMENSION.oneofs_by_name['value'].fields.append(
    _TENSORSHAPEPROTO_DIMENSION.fields_by_name['dim_value'])
_TENSORSHAPEPROTO_DIMENSION.fields_by_name[
    'dim_value'].containing_oneof = _TENSORSHAPEPROTO_DIMENSION.oneofs_by_name[
        'value']
_TENSORSHAPEPROTO_DIMENSION.oneofs_by_name['value'].fields.append(
    _TENSORSHAPEPROTO_DIMENSION.fields_by_name['dim_param'])
_TENSORSHAPEPROTO_DIMENSION.fields_by_name[
    'dim_param'].containing_oneof = _TENSORSHAPEPROTO_DIMENSION.oneofs_by_name[
        'value']
_TENSORSHAPEPROTO.fields_by_name[
    'dim'].message_type = _TENSORSHAPEPROTO_DIMENSION
_TYPEPROTO_TENSOR.fields_by_name['shape'].message_type = _TENSORSHAPEPROTO
_TYPEPROTO_TENSOR.containing_type = _TYPEPROTO
_TYPEPROTO_SEQUENCE.fields_by_name['elem_type'].message_type = _TYPEPROTO
_TYPEPROTO_SEQUENCE.containing_type = _TYPEPROTO
_TYPEPROTO_MAP.fields_by_name['value_type'].message_type = _TYPEPROTO
_TYPEPROTO_MAP.containing_type = _TYPEPROTO
_TYPEPROTO_SPARSETENSOR.fields_by_name['shape'].message_type = _TENSORSHAPEPROTO
_TYPEPROTO_SPARSETENSOR.containing_type = _TYPEPROTO
_TYPEPROTO_OPAQUE.containing_type = _TYPEPROTO
_TYPEPROTO.fields_by_name['tensor_type'].message_type = _TYPEPROTO_TENSOR
_TYPEPROTO.fields_by_name['sequence_type'].message_type = _TYPEPROTO_SEQUENCE
_TYPEPROTO.fields_by_name['map_type'].message_type = _TYPEPROTO_MAP
_TYPEPROTO.fields_by_name[
    'sparse_tensor_type'].message_type = _TYPEPROTO_SPARSETENSOR
_TYPEPROTO.fields_by_name['opaque_type'].message_type = _TYPEPROTO_OPAQUE
_TYPEPROTO.oneofs_by_name['value'].fields.append(_TYPEPROTO.fields_by_name[
    'tensor_type'])
_TYPEPROTO.fields_by_name[
    'tensor_type'].containing_oneof = _TYPEPROTO.oneofs_by_name['value']
_TYPEPROTO.oneofs_by_name['value'].fields.append(_TYPEPROTO.fields_by_name[
    'sequence_type'])
_TYPEPROTO.fields_by_name[
    'sequence_type'].containing_oneof = _TYPEPROTO.oneofs_by_name['value']
_TYPEPROTO.oneofs_by_name['value'].fields.append(_TYPEPROTO.fields_by_name[
    'map_type'])
_TYPEPROTO.fields_by_name[
    'map_type'].containing_oneof = _TYPEPROTO.oneofs_by_name['value']
_TYPEPROTO.oneofs_by_name['value'].fields.append(_TYPEPROTO.fields_by_name[
    'sparse_tensor_type'])
_TYPEPROTO.fields_by_name[
    'sparse_tensor_type'].containing_oneof = _TYPEPROTO.oneofs_by_name['value']
_TYPEPROTO.oneofs_by_name['value'].fields.append(_TYPEPROTO.fields_by_name[
    'opaque_type'])
_TYPEPROTO.fields_by_name[
    'opaque_type'].containing_oneof = _TYPEPROTO.oneofs_by_name['value']
DESCRIPTOR.message_types_by_name['AttributeProto'] = _ATTRIBUTEPROTO
DESCRIPTOR.message_types_by_name['ValueInfoProto'] = _VALUEINFOPROTO
DESCRIPTOR.message_types_by_name['NodeProto'] = _NODEPROTO
DESCRIPTOR.message_types_by_name['TrainingInfoProto'] = _TRAININGINFOPROTO
DESCRIPTOR.message_types_by_name['ModelProto'] = _MODELPROTO
DESCRIPTOR.message_types_by_name[
    'StringStringEntryProto'] = _STRINGSTRINGENTRYPROTO
DESCRIPTOR.message_types_by_name['TensorAnnotation'] = _TENSORANNOTATION
DESCRIPTOR.message_types_by_name['GraphProto'] = _GRAPHPROTO
DESCRIPTOR.message_types_by_name['TensorProto'] = _TENSORPROTO
DESCRIPTOR.message_types_by_name['SparseTensorProto'] = _SPARSETENSORPROTO
DESCRIPTOR.message_types_by_name['TensorShapeProto'] = _TENSORSHAPEPROTO
DESCRIPTOR.message_types_by_name['TypeProto'] = _TYPEPROTO
DESCRIPTOR.message_types_by_name['OperatorSetIdProto'] = _OPERATORSETIDPROTO
DESCRIPTOR.enum_types_by_name['Version'] = _VERSION

AttributeProto = _reflection.GeneratedProtocolMessageType(
    'AttributeProto',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_ATTRIBUTEPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.AttributeProto)
    ))
_sym_db.RegisterMessage(AttributeProto)

ValueInfoProto = _reflection.GeneratedProtocolMessageType(
    'ValueInfoProto',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_VALUEINFOPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.ValueInfoProto)
    ))
_sym_db.RegisterMessage(ValueInfoProto)

NodeProto = _reflection.GeneratedProtocolMessageType(
    'NodeProto',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_NODEPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.NodeProto)
    ))
_sym_db.RegisterMessage(NodeProto)

TrainingInfoProto = _reflection.GeneratedProtocolMessageType(
    'TrainingInfoProto',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_TRAININGINFOPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TrainingInfoProto)
    ))
_sym_db.RegisterMessage(TrainingInfoProto)

ModelProto = _reflection.GeneratedProtocolMessageType(
    'ModelProto',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_MODELPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.ModelProto)
    ))
_sym_db.RegisterMessage(ModelProto)

StringStringEntryProto = _reflection.GeneratedProtocolMessageType(
    'StringStringEntryProto',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_STRINGSTRINGENTRYPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.StringStringEntryProto)
    ))
_sym_db.RegisterMessage(StringStringEntryProto)

TensorAnnotation = _reflection.GeneratedProtocolMessageType(
    'TensorAnnotation',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_TENSORANNOTATION,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TensorAnnotation)
    ))
_sym_db.RegisterMessage(TensorAnnotation)

GraphProto = _reflection.GeneratedProtocolMessageType(
    'GraphProto',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_GRAPHPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.GraphProto)
    ))
_sym_db.RegisterMessage(GraphProto)

TensorProto = _reflection.GeneratedProtocolMessageType(
    'TensorProto',
    (_message.Message, ),
    dict(
        Segment=_reflection.GeneratedProtocolMessageType(
            'Segment',
            (_message.Message, ),
            dict(
                DESCRIPTOR=_TENSORPROTO_SEGMENT,
                __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
                # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TensorProto.Segment)
            )),
        DESCRIPTOR=_TENSORPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TensorProto)
    ))
_sym_db.RegisterMessage(TensorProto)
_sym_db.RegisterMessage(TensorProto.Segment)

SparseTensorProto = _reflection.GeneratedProtocolMessageType(
    'SparseTensorProto',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_SPARSETENSORPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.SparseTensorProto)
    ))
_sym_db.RegisterMessage(SparseTensorProto)

TensorShapeProto = _reflection.GeneratedProtocolMessageType(
    'TensorShapeProto',
    (_message.Message, ),
    dict(
        Dimension=_reflection.GeneratedProtocolMessageType(
            'Dimension',
            (_message.Message, ),
            dict(
                DESCRIPTOR=_TENSORSHAPEPROTO_DIMENSION,
                __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
                # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TensorShapeProto.Dimension)
            )),
        DESCRIPTOR=_TENSORSHAPEPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TensorShapeProto)
    ))
_sym_db.RegisterMessage(TensorShapeProto)
_sym_db.RegisterMessage(TensorShapeProto.Dimension)

TypeProto = _reflection.GeneratedProtocolMessageType(
    'TypeProto',
    (_message.Message, ),
    dict(
        Tensor=_reflection.GeneratedProtocolMessageType(
            'Tensor',
            (_message.Message, ),
            dict(
                DESCRIPTOR=_TYPEPROTO_TENSOR,
                __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
                # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TypeProto.Tensor)
            )),
        Sequence=_reflection.GeneratedProtocolMessageType(
            'Sequence',
            (_message.Message, ),
            dict(
                DESCRIPTOR=_TYPEPROTO_SEQUENCE,
                __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
                # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TypeProto.Sequence)
            )),
        Map=_reflection.GeneratedProtocolMessageType(
            'Map',
            (_message.Message, ),
            dict(
                DESCRIPTOR=_TYPEPROTO_MAP,
                __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
                # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TypeProto.Map)
            )),
        SparseTensor=_reflection.GeneratedProtocolMessageType(
            'SparseTensor',
            (_message.Message, ),
            dict(
                DESCRIPTOR=_TYPEPROTO_SPARSETENSOR,
                __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
                # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TypeProto.SparseTensor)
            )),
        Opaque=_reflection.GeneratedProtocolMessageType(
            'Opaque',
            (_message.Message, ),
            dict(
                DESCRIPTOR=_TYPEPROTO_OPAQUE,
                __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
                # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TypeProto.Opaque)
            )),
        DESCRIPTOR=_TYPEPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.TypeProto)
    ))
_sym_db.RegisterMessage(TypeProto)
_sym_db.RegisterMessage(TypeProto.Tensor)
_sym_db.RegisterMessage(TypeProto.Sequence)
_sym_db.RegisterMessage(TypeProto.Map)
_sym_db.RegisterMessage(TypeProto.SparseTensor)
_sym_db.RegisterMessage(TypeProto.Opaque)

OperatorSetIdProto = _reflection.GeneratedProtocolMessageType(
    'OperatorSetIdProto',
    (_message.Message, ),
    dict(
        DESCRIPTOR=_OPERATORSETIDPROTO,
        __module__='onnx.onnx_ONNX_REL_1_7_ml_pb2'
        # @@protoc_insertion_point(class_scope:ONNX_REL_1_7.OperatorSetIdProto)
    ))
_sym_db.RegisterMessage(OperatorSetIdProto)

_TENSORPROTO.fields_by_name['float_data'].has_options = True
_TENSORPROTO.fields_by_name['float_data']._options = _descriptor._ParseOptions(
    descriptor_pb2.FieldOptions(), _b('\020\001'))
_TENSORPROTO.fields_by_name['int32_data'].has_options = True
_TENSORPROTO.fields_by_name['int32_data']._options = _descriptor._ParseOptions(
    descriptor_pb2.FieldOptions(), _b('\020\001'))
_TENSORPROTO.fields_by_name['int64_data'].has_options = True
_TENSORPROTO.fields_by_name['int64_data']._options = _descriptor._ParseOptions(
    descriptor_pb2.FieldOptions(), _b('\020\001'))
_TENSORPROTO.fields_by_name['double_data'].has_options = True
_TENSORPROTO.fields_by_name['double_data']._options = _descriptor._ParseOptions(
    descriptor_pb2.FieldOptions(), _b('\020\001'))
_TENSORPROTO.fields_by_name['uint64_data'].has_options = True
_TENSORPROTO.fields_by_name['uint64_data']._options = _descriptor._ParseOptions(
    descriptor_pb2.FieldOptions(), _b('\020\001'))
# @@protoc_insertion_point(module_scope)
