diff options
Diffstat (limited to 'res/TensorFlowLiteRecipes/Quantization_000/test.recipe')
-rw-r--r-- | res/TensorFlowLiteRecipes/Quantization_000/test.recipe | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Quantization_000/test.recipe b/res/TensorFlowLiteRecipes/Quantization_000/test.recipe new file mode 100644 index 000000000..be5d222a2 --- /dev/null +++ b/res/TensorFlowLiteRecipes/Quantization_000/test.recipe @@ -0,0 +1,46 @@ +operand { + name: "ifm" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } + quant { min: 0 max: 128 scale: 2 zero_point: 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: "gaussian" + arg: "0.0" + arg: "1.0" + } +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 1 } + quant { min: 0 max: 80 scale: 1.5 zero_point: 3 } +} +operation { + type: "Conv2D" + conv2d_options { + padding: VALID + stride_w: 1 + stride_h: 1 + } + input: "ifm" + input: "ker" + input: "bias" + output: "ofm" +} +input: "ifm" +output: "ofm" |