From 7638ce7e2159da486d6d56af7a47f823159c5a10 Mon Sep 17 00:00:00 2001 From: SaeHie Park Date: Mon, 29 Jul 2024 08:10:41 +0000 Subject: [PATCH] [res] Introduce PadV2_002 tflite recipe This will introduce PadV2_002 tflite recipe. ONE-DCO-1.0-Signed-off-by: SaeHie Park --- .../PadV2_002/test.recipe | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 res/TensorFlowLiteRecipes/PadV2_002/test.recipe diff --git a/res/TensorFlowLiteRecipes/PadV2_002/test.recipe b/res/TensorFlowLiteRecipes/PadV2_002/test.recipe new file mode 100644 index 00000000000..ea4722ca624 --- /dev/null +++ b/res/TensorFlowLiteRecipes/PadV2_002/test.recipe @@ -0,0 +1,41 @@ +# padding with INT64, constant_values with FLOAT32, others same as PadV2_000 +operand { + name: "ifm" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operand { + name: "padding" + type: INT64 + shape { dim: 4 dim: 2 } + filler { + tag: "explicit" + arg: "0" arg: "0" + arg: "1" arg: "1" + arg: "2" arg: "2" + arg: "0" arg: "0" + } +} +operand { + name: "constant_values" + type: FLOAT32 + shape { dim: 1 } + filler { + tag: "explicit" + arg: "1" + } +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 1 dim: 5 dim: 7 dim: 2 } +} +operation { + type: "PadV2" + input: "ifm" + input: "padding" + input: "constant_values" + output: "ofm" +} +input: "ifm" +output: "ofm"