diff options
Diffstat (limited to 'res/TensorFlowLiteRecipes/Conv2D_001/test.recipe')
-rw-r--r-- | res/TensorFlowLiteRecipes/Conv2D_001/test.recipe | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Conv2D_001/test.recipe b/res/TensorFlowLiteRecipes/Conv2D_001/test.recipe new file mode 100644 index 000000000..bc41a3fc0 --- /dev/null +++ b/res/TensorFlowLiteRecipes/Conv2D_001/test.recipe @@ -0,0 +1,44 @@ +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: "bias" + type: FLOAT32 + shape { dim: 1 } + filler { + tag: "constant" + arg: "1.1" + } +} +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: "bias" + output: "ofm" +} +input: "ifm" +input: "ker" +output: "ofm" |