From 0d4cf4c0f916c9078193fcb37ecf88301969ac19 Mon Sep 17 00:00:00 2001 From: Hyukjin Jeong Date: Mon, 26 Aug 2024 18:12:42 +0900 Subject: [PATCH] [res] Fix shape of Net_ZeroDim_001 (#13753) * [res] Fix shape of Net_ZeroDim_001 This adds dynamic shape info to Net_ZeroDim_001. ONE-DCO-1.0-Signed-off-by: Hyukjin Jeong * Update comment --- .../Net_ZeroDim_001/test.recipe | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/res/TensorFlowLiteRecipes/Net_ZeroDim_001/test.recipe b/res/TensorFlowLiteRecipes/Net_ZeroDim_001/test.recipe index 5e1279c1a32..a7139a8eeb2 100644 --- a/res/TensorFlowLiteRecipes/Net_ZeroDim_001/test.recipe +++ b/res/TensorFlowLiteRecipes/Net_ZeroDim_001/test.recipe @@ -1,5 +1,6 @@ # # This was generated by tflchef-reverse from res/TensorFlowTests/NET_0043 +# UPDATE: shape_signature was manually inserted to work with dynamic shapes. # operand { @@ -31,6 +32,11 @@ operand { dim: 0 dim: 512 } + shape_signature { + dim: 1 + dim: -1 + dim: 512 + } } operand { name: "transpose1" @@ -41,6 +47,12 @@ operand { dim: 0 dim: 64 } + shape_signature { + dim: 1 + dim: 8 + dim: -1 + dim: 64 + } filler { tag: "explicit" } @@ -61,6 +73,16 @@ operand { name: "add" type: FLOAT32 shape { + dim: 0 + dim: 8 + dim: 0 + dim: 64 + } + shape_signature { + dim: -1 + dim: 8 + dim: -1 + dim: 64 } } operation {