diff options
Diffstat (limited to 'res/TensorFlowLiteRecipes/Conv2D_002/test.recipe')
-rw-r--r-- | res/TensorFlowLiteRecipes/Conv2D_002/test.recipe | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Conv2D_002/test.recipe b/res/TensorFlowLiteRecipes/Conv2D_002/test.recipe new file mode 100644 index 000000000..1901ead3b --- /dev/null +++ b/res/TensorFlowLiteRecipes/Conv2D_002/test.recipe @@ -0,0 +1,45 @@ +operand { + name: "ifm" + type: FLOAT32 + shape { dim: 1 dim: 4 dim: 4 dim: 1 } +} +operand { + name: "ker" + type: FLOAT32 + shape { dim: 1 dim: 1 dim: 1 dim: 1 } + filler { + tag: "gaussian" + arg: "0.0" + arg: "1.0" + } +} +operand { + name: "bias" + type: FLOAT32 + shape { dim: 1 } + filler { + tag: "gaussian" + arg: "0.0" + arg: "1.0" + } +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 1 dim: 2 dim: 2 dim: 1 } +} +operation { + type: "Conv2D" + conv2d_options { + padding: SAME + stride_w: 2 + stride_h: 2 + activation: RELU + } + input: "ifm" + input: "ker" + input: "bias" + output: "ofm" +} +input: "ifm" +output: "ofm" |