From 3d683457cb69dff108c34d58e93bd44a5783265f Mon Sep 17 00:00:00 2001 From: Zrealshadow <704309740@qq.com> Date: Mon, 5 Feb 2024 16:33:20 +0800 Subject: [PATCH] Add the interface proto file for the bank HFL example --- examples/hfl/proto/interface.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 examples/hfl/proto/interface.proto diff --git a/examples/hfl/proto/interface.proto b/examples/hfl/proto/interface.proto new file mode 100644 index 000000000..dde5093e9 --- /dev/null +++ b/examples/hfl/proto/interface.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; +package interface; + +enum Op { + DEFAULT = 0; + SCATTER = 1; + GATHER = 2; +} + +message WeightsExchange { + Op op_type = 1; + map weights = 2; +}