# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: serialization/hom_op.proto
# Protobuf Python Version: 5.27.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    5,
    27,
    1,
    '',
    'serialization/hom_op.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from lattica_query.serialization import generic_pb2 as serialization_dot_generic__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aserialization/hom_op.proto\x12\rlattica_proto\x1a\x1bserialization/generic.proto\"N\n\x16UnfoldApplyClearParams\x12\x13\n\x0bkernel_size\x18\x01 \x03(\x05\x12\x0f\n\x07padding\x18\x02 \x03(\x05\x12\x0e\n\x06stride\x18\x03 \x03(\x05\"\'\n\x17ReshapeApplyClearParams\x12\x0c\n\x04\x64ims\x18\x01 \x03(\x05\"E\n\x18\x43onstAddApplyClearParams\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.lattica_proto.TensorHolder\"E\n\x18\x43onstMulApplyClearParams\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.lattica_proto.TensorHolder\"]\n\x1b\x43onstMatMulApplyClearParams\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.lattica_proto.TensorHolder\x12\x13\n\x0bpt_mul_axis\x18\x02 \x01(\x05\"&\n\x17SoftmaxApplyClearParams\x12\x0b\n\x03\x64im\x18\x01 \x01(\x05\"9\n\x15\x43lampApplyClearParams\x12\x0f\n\x07min_val\x18\x01 \x01(\x02\x12\x0f\n\x07max_val\x18\x02 \x01(\x02\"\xa9\x04\n\x10\x41pplyClearParams\x12:\n\x06unfold\x18\x01 \x01(\x0b\x32%.lattica_proto.UnfoldApplyClearParamsH\x00\x88\x01\x01\x12<\n\x07reshape\x18\x02 \x01(\x0b\x32&.lattica_proto.ReshapeApplyClearParamsH\x01\x88\x01\x01\x12?\n\tconst_add\x18\x03 \x01(\x0b\x32\'.lattica_proto.ConstAddApplyClearParamsH\x02\x88\x01\x01\x12?\n\tconst_mul\x18\x04 \x01(\x0b\x32\'.lattica_proto.ConstMulApplyClearParamsH\x03\x88\x01\x01\x12\x46\n\rconst_mat_mul\x18\x05 \x01(\x0b\x32*.lattica_proto.ConstMatMulApplyClearParamsH\x04\x88\x01\x01\x12<\n\x07softmax\x18\x06 \x01(\x0b\x32&.lattica_proto.SoftmaxApplyClearParamsH\x05\x88\x01\x01\x12\x38\n\x05\x63lamp\x18\x07 \x01(\x0b\x32$.lattica_proto.ClampApplyClearParamsH\x06\x88\x01\x01\x42\t\n\x07_unfoldB\n\n\x08_reshapeB\x0c\n\n_const_addB\x0c\n\n_const_mulB\x10\n\x0e_const_mat_mulB\n\n\x08_softmaxB\x08\n\x06_clamp\"\xda\x01\n\x10QueryClientBlock\x12\x13\n\x0b\x62lock_index\x18\x01 \x01(\x05\x12\x0f\n\x07is_last\x18\x02 \x01(\x08\x12*\n\x08op_types\x18\x03 \x03(\x0e\x32\x18.lattica_proto.HomOpType\x12@\n\x17\x61pply_clear_params_list\x18\x04 \x03(\x0b\x32\x1f.lattica_proto.ApplyClearParams\x12\x1d\n\x10pt_axis_external\x18\x05 \x01(\x05H\x00\x88\x01\x01\x42\x13\n\x11_pt_axis_external\"\x9e\x01\n\x1aQueryClientSequentialHomOp\x12,\n\tkey_types\x18\x01 \x03(\x0e\x32\x19.lattica_proto.AuxKeyType\x12\x36\n\rclient_blocks\x18\x02 \x03(\x0b\x32\x1f.lattica_proto.QueryClientBlock\x12\x1a\n\x12preprocessing_data\x18\x03 \x01(\x0c\"U\n\nClientData\x12\x1a\n\x12serialized_context\x18\x01 \x01(\x0c\x12+\n#serialized_client_sequential_hom_op\x18\x02 \x01(\x0c*\xeb\x01\n\tHomOpType\x12\x13\n\x0f\x41uxPropagateKey\x10\x00\x12\x0c\n\x08\x43onstAdd\x10\x01\x12\x0c\n\x08\x43onstMul\x10\x02\x12\x07\n\x03Mul\x10\x03\x12\n\n\x06Square\x10\x04\x12\r\n\tModSwitch\x10\x05\x12\x13\n\x0fSumSlotsBaseKey\x10\x06\x12\x13\n\x0fSumSlotsFullKey\x10\x07\x12\x11\n\rMatMulBaseKey\x10\x08\x12\x11\n\rMatMulFullKey\x10\t\x12\n\n\x06Unfold\x10\n\x12\x0b\n\x07Reshape\x10\x0b\x12\x0b\n\x07Softmax\x10\x0c\x12\x08\n\x04ReLU\x10\r\x12\t\n\x05\x43lamp\x10\x0e\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'serialization.hom_op_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_HOMOPTYPE']._serialized_start=1557
  _globals['_HOMOPTYPE']._serialized_end=1792
  _globals['_UNFOLDAPPLYCLEARPARAMS']._serialized_start=74
  _globals['_UNFOLDAPPLYCLEARPARAMS']._serialized_end=152
  _globals['_RESHAPEAPPLYCLEARPARAMS']._serialized_start=154
  _globals['_RESHAPEAPPLYCLEARPARAMS']._serialized_end=193
  _globals['_CONSTADDAPPLYCLEARPARAMS']._serialized_start=195
  _globals['_CONSTADDAPPLYCLEARPARAMS']._serialized_end=264
  _globals['_CONSTMULAPPLYCLEARPARAMS']._serialized_start=266
  _globals['_CONSTMULAPPLYCLEARPARAMS']._serialized_end=335
  _globals['_CONSTMATMULAPPLYCLEARPARAMS']._serialized_start=337
  _globals['_CONSTMATMULAPPLYCLEARPARAMS']._serialized_end=430
  _globals['_SOFTMAXAPPLYCLEARPARAMS']._serialized_start=432
  _globals['_SOFTMAXAPPLYCLEARPARAMS']._serialized_end=470
  _globals['_CLAMPAPPLYCLEARPARAMS']._serialized_start=472
  _globals['_CLAMPAPPLYCLEARPARAMS']._serialized_end=529
  _globals['_APPLYCLEARPARAMS']._serialized_start=532
  _globals['_APPLYCLEARPARAMS']._serialized_end=1085
  _globals['_QUERYCLIENTBLOCK']._serialized_start=1088
  _globals['_QUERYCLIENTBLOCK']._serialized_end=1306
  _globals['_QUERYCLIENTSEQUENTIALHOMOP']._serialized_start=1309
  _globals['_QUERYCLIENTSEQUENTIALHOMOP']._serialized_end=1467
  _globals['_CLIENTDATA']._serialized_start=1469
  _globals['_CLIENTDATA']._serialized_end=1554
# @@protoc_insertion_point(module_scope)
