diff options
author | Chunseok Lee <chunseok.lee@samsung.com> | 2021-11-15 10:54:00 +0900 |
---|---|---|
committer | Chunseok Lee <chunseok.lee@samsung.com> | 2021-11-15 10:54:00 +0900 |
commit | ac6e4dd7b480e83b586ef533d7b29a8a97eb48fe (patch) | |
tree | 70fc4849fbc296ef037f57bf7f678882530cf3de /res | |
parent | 33ae5d70a1ed85d215c1293ed63afbf3517b07d5 (diff) | |
download | nnfw-ac6e4dd7b480e83b586ef533d7b29a8a97eb48fe.tar.gz nnfw-ac6e4dd7b480e83b586ef533d7b29a8a97eb48fe.tar.bz2 nnfw-ac6e4dd7b480e83b586ef533d7b29a8a97eb48fe.zip |
Imported Upstream version 1.19.0upstream/1.19.0submit/tizen/20211115.015830accepted/tizen/unified/20211116.130520
Diffstat (limited to 'res')
3 files changed, 158 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Conv2D_005/test.recipe b/res/TensorFlowLiteRecipes/Conv2D_005/test.recipe new file mode 100644 index 000000000..2cd7b9065 --- /dev/null +++ b/res/TensorFlowLiteRecipes/Conv2D_005/test.recipe @@ -0,0 +1,34 @@ +operand { + name: "ifm" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operand { + name: "ker" + type: FLOAT32 + shape { dim: 1 dim: 1 dim: 1 dim: 2 } + filler { + tag: "gaussian" + arg: "0.0" + arg: "1.0" + } +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 1 } +} +operation { + type: "Conv2D" + conv2d_options { + padding: VALID + stride_w: 1 + stride_h: 1 + } + input: "ifm" + input: "ker" + input: "" + output: "ofm" +} +input: "ifm" +output: "ofm" diff --git a/res/TensorFlowLiteRecipes/Part_Tanh_FC_nobias/test.recipe b/res/TensorFlowLiteRecipes/Part_Tanh_FC_nobias/test.recipe new file mode 100644 index 000000000..ead0c33ad --- /dev/null +++ b/res/TensorFlowLiteRecipes/Part_Tanh_FC_nobias/test.recipe @@ -0,0 +1,42 @@ +operand { + name: "in" + type: FLOAT32 + shape { dim: 2 dim: 4 } +} +operand { + name: "Tanh" + type: FLOAT32 + shape { dim: 2 dim: 4 } +} +operand { + name: "weight" + type: FLOAT32 + shape { dim: 4 dim: 4 } + filler { + tag: "gaussian" + arg: "0.0" + arg: "1.0" + } +} +operand { + name: "out" + type: FLOAT32 + shape { dim: 2 dim: 4 } +} +operation { + type: "Tanh" + input: "in" + output: "Tanh" +} +operation { + type: "FullyConnected" + fullyconnected_options { + activation: NONE + } + input: "Tanh" + input: "weight" + input: "" + output: "out" +} +input: "in" +output: "out" diff --git a/res/TensorFlowLiteRecipes/SignatureDef_MultiOut_000/test.recipe b/res/TensorFlowLiteRecipes/SignatureDef_MultiOut_000/test.recipe new file mode 100644 index 000000000..ae993e6d8 --- /dev/null +++ b/res/TensorFlowLiteRecipes/SignatureDef_MultiOut_000/test.recipe @@ -0,0 +1,82 @@ +operand { + name: "ifm1" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operand { + name: "ifm2" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operand { + name: "ofm1" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operand { + name: "ofm2" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operand { + name: "ofm3" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operation { + type: "Add" + input: "ifm1" + input: "ifm2" + output: "ofm1" + add_options { + activation: NONE + } +} +operation { + type: "Mul" + input: "ifm1" + input: "ifm2" + output: "ofm2" + mul_options { + activation: 0 + } +} +operation { + type: "Sub" + input: "ifm1" + input: "ifm2" + output: "ofm3" + sub_options { + activation: 0 + } +} +signature_def { + inputs: { + name: "ifm1" + tensor_index: 0 + } + inputs: { + name: "ifm2" + tensor_index: 1 + } + outputs { + name: "ofm2" + tensor_index: 3 + } + outputs { + name: "ofm3" + tensor_index: 4 + } + outputs { + name: "ofm1" + tensor_index: 2 + } + method_name: "serving_default" + key: "serv" + subgraph_index: 0 +} +input: "ifm1" +input: "ifm2" +output: "ofm3" +output: "ofm1" +output: "ofm2" |