# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: paddle/fluid/framework/pass_desc.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from paddle.fluid.framework import framework_pb2 as paddle_dot_fluid_dot_framework_dot_framework__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&paddle/fluid/framework/pass_desc.proto\x12\x16paddle.framework.proto\x1a&paddle/fluid/framework/framework.proto\"\xd3\x0c\n\x08PassDesc\x12/\n\x07pattern\x18\x01 \x03(\x0b\x32\x1e.paddle.framework.proto.OpDesc\x12/\n\x07replace\x18\x02 \x03(\x0b\x32\x1e.paddle.framework.proto.OpDesc\x12\x39\n\x08var_maps\x18\x03 \x03(\x0b\x32\'.paddle.framework.proto.PassDesc.VarMap\x12?\n\rvar_attr_maps\x18\x04 \x03(\x0b\x32(.paddle.framework.proto.PassDesc.AttrMap\x12>\n\x0cop_attr_maps\x18\x05 \x03(\x0b\x32(.paddle.framework.proto.PassDesc.AttrMap\x12K\n\x13var_attr_conditions\x18\x06 \x03(\x0b\x32..paddle.framework.proto.PassDesc.AttrCondition\x12J\n\x12op_attr_conditions\x18\x07 \x03(\x0b\x32..paddle.framework.proto.PassDesc.AttrCondition\x1a\xe1\x01\n\x04\x41ttr\x12\x37\n\x04role\x18\x01 \x02(\x0e\x32).paddle.framework.proto.PassDesc.RoleType\x12\x10\n\x08var_name\x18\x02 \x01(\t\x12\x10\n\x08op_index\x18\x03 \x01(\x05\x12\x0c\n\x04name\x18\x04 \x02(\t\x12\x14\n\x0c\x65lement_name\x18\x05 \x01(\t\x12\x15\n\relement_index\x18\x06 \x01(\x05\x12\x41\n\toperation\x18\x07 \x01(\x0e\x32..paddle.framework.proto.PassDesc.OperationType\x1a\xb2\x01\n\tOperation\x12<\n\x04type\x18\x01 \x02(\x0e\x32..paddle.framework.proto.PassDesc.OperationType\x12\x33\n\x04\x61ttr\x18\x02 \x01(\x0b\x32%.paddle.framework.proto.PassDesc.Attr\x12\x32\n\x05value\x18\x03 \x01(\x0b\x32#.paddle.framework.proto.OpDesc.Attr\x1a\x32\n\x06VarMap\x12\x13\n\x0bpattern_var\x18\x01 \x02(\t\x12\x13\n\x0breplace_var\x18\x02 \x02(\t\x1a\xc2\x01\n\x07\x41ttrMap\x12;\n\x0cpattern_attr\x18\x01 \x02(\x0b\x32%.paddle.framework.proto.PassDesc.Attr\x12;\n\x0creplace_attr\x18\x02 \x02(\x0b\x32%.paddle.framework.proto.PassDesc.Attr\x12=\n\toperation\x18\x03 \x01(\x0b\x32*.paddle.framework.proto.PassDesc.Operation\x1a\xbe\x02\n\rAttrCondition\x12\x33\n\x04\x61ttr\x18\x01 \x02(\x0b\x32%.paddle.framework.proto.PassDesc.Attr\x12<\n\x04type\x18\x02 \x02(\x0e\x32..paddle.framework.proto.PassDesc.ConditionType\x12=\n\x0e\x63ondition_attr\x18\x03 \x01(\x0b\x32%.paddle.framework.proto.PassDesc.Attr\x12<\n\x0f\x63ondition_value\x18\x04 \x01(\x0b\x32#.paddle.framework.proto.OpDesc.Attr\x12=\n\toperation\x18\x05 \x01(\x0b\x32*.paddle.framework.proto.PassDesc.Operation\"(\n\x08RoleType\x12\r\n\tkVariable\x10\x00\x12\r\n\tkOperator\x10\x01\"L\n\rOperationType\x12\x08\n\x04kAdd\x10\x00\x12\x08\n\x04kSub\x10\x01\x12\x08\n\x04kMul\x10\x02\x12\x08\n\x04kDiv\x10\x03\x12\t\n\x05kSize\x10\x04\x12\x08\n\x04kMod\x10\x05\"E\n\rConditionType\x12\x07\n\x03kEQ\x10\x00\x12\x07\n\x03kNE\x10\x01\x12\x07\n\x03kGT\x10\x02\x12\x07\n\x03kGE\x10\x03\x12\x07\n\x03kLT\x10\x04\x12\x07\n\x03kLE\x10\x05\"X\n\rMultiPassDesc\x12\x11\n\tpass_type\x18\x01 \x01(\t\x12\x34\n\npass_descs\x18\x02 \x03(\x0b\x32 .paddle.framework.proto.PassDesc')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'paddle.fluid.framework.pass_desc_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  _PASSDESC._serialized_start=107
  _PASSDESC._serialized_end=1726
  _PASSDESC_ATTR._serialized_start=559
  _PASSDESC_ATTR._serialized_end=784
  _PASSDESC_OPERATION._serialized_start=787
  _PASSDESC_OPERATION._serialized_end=965
  _PASSDESC_VARMAP._serialized_start=967
  _PASSDESC_VARMAP._serialized_end=1017
  _PASSDESC_ATTRMAP._serialized_start=1020
  _PASSDESC_ATTRMAP._serialized_end=1214
  _PASSDESC_ATTRCONDITION._serialized_start=1217
  _PASSDESC_ATTRCONDITION._serialized_end=1535
  _PASSDESC_ROLETYPE._serialized_start=1537
  _PASSDESC_ROLETYPE._serialized_end=1577
  _PASSDESC_OPERATIONTYPE._serialized_start=1579
  _PASSDESC_OPERATIONTYPE._serialized_end=1655
  _PASSDESC_CONDITIONTYPE._serialized_start=1657
  _PASSDESC_CONDITIONTYPE._serialized_end=1726
  _MULTIPASSDESC._serialized_start=1728
  _MULTIPASSDESC._serialized_end=1816
# @@protoc_insertion_point(module_scope)
