From 3905e6d712562d00afd94bab3c555a5a0039c74c Mon Sep 17 00:00:00 2001 From: SeungHui Lee Date: Mon, 23 Oct 2023 03:31:18 -0400 Subject: [PATCH 1/2] [tflchef] Introduce extype and custom_code for custom operators This introduces extype and custom_code for custom operators. ONE-DCO-1.0-Signed-off-by: SeungHui Lee --- compiler/tflchef/proto/tflchef.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/tflchef/proto/tflchef.proto b/compiler/tflchef/proto/tflchef.proto index 98ae2b23f94..d6974a2bb10 100644 --- a/compiler/tflchef/proto/tflchef.proto +++ b/compiler/tflchef/proto/tflchef.proto @@ -556,6 +556,8 @@ message Operation { repeated string input = 2; repeated string output = 3; optional int32 version = 4 [default = 1]; + optional string extype = 5; + optional string custom_code = 6; optional Conv2DOptions conv2d_options = 100; optional Pool2DOptions averagepool2d_options = 101; From cc663524eb7e815f9e70df3a14c67f642e8ff214 Mon Sep 17 00:00:00 2001 From: SeungHui Lee Date: Mon, 23 Oct 2023 20:34:09 -0400 Subject: [PATCH 2/2] Apply comment --- compiler/tflchef/proto/tflchef.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/tflchef/proto/tflchef.proto b/compiler/tflchef/proto/tflchef.proto index d6974a2bb10..2111415b23a 100644 --- a/compiler/tflchef/proto/tflchef.proto +++ b/compiler/tflchef/proto/tflchef.proto @@ -556,9 +556,9 @@ message Operation { repeated string input = 2; repeated string output = 3; optional int32 version = 4 [default = 1]; - optional string extype = 5; - optional string custom_code = 6; + optional string custom_code = 5; + optional string extype = 99; optional Conv2DOptions conv2d_options = 100; optional Pool2DOptions averagepool2d_options = 101; optional ConcatenationOptions concatenation_options = 102;