diff options
author | Kevin Cheng <kevin.cheng@arm.com> | 2021-05-06 11:19:51 -0700 |
---|---|---|
committer | Kevin Cheng <kevin.cheng@arm.com> | 2021-05-06 11:26:09 -0700 |
commit | d267dd9418374d49ac1e1a1a9c9b1d30b5733ee9 (patch) | |
tree | 2e98e252fe060dcddc11e5508d7eff75dd0b6160 /examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11 | |
parent | 9257fd5775b49e206de33536a623e34cc1cecb42 (diff) | |
download | reference_model-d267dd9418374d49ac1e1a1a9c9b1d30b5733ee9.tar.gz |
Regenerate examples/ tests
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com>
Change-Id: I0c6286bdbd78c8e479eb64deead8822189968bef
Diffstat (limited to 'examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11')
12 files changed, 26 insertions, 45 deletions
diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_1.npy b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_1.npy Binary files differindex 79bf0ec..ec9d526 100644 --- a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_1.npy +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_1.npy diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_3.npy b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_3.npy Binary files differnew file mode 100644 index 0000000..79bf0ec --- /dev/null +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_3.npy diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_4.npy b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_4.npy Binary files differdeleted file mode 100644 index ec9d526..0000000 --- a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/layer_4.npy +++ /dev/null diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11.tosa b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11.tosa Binary files differindex 42f11de..1fb5f17 100644 --- a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11.tosa +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tf/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11.tosa diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/layer_1.npy b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/layer_1.npy Binary files differindex ec9d526..207be76 100644 --- a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/layer_1.npy +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/layer_1.npy diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/layer_2.npy b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/layer_2.npy Binary files differindex 207be76..ec9d526 100644 --- a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/layer_2.npy +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/layer_2.npy diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11.tosa b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11.tosa Binary files differindex 105b755..d1b740b 100644 --- a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11.tosa +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/flatbuffer-tflite/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11.tosa diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/test_tf.pb b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/model.pb index 3b00d26..500cc08 100644 --- a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/test_tf.pb +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/model.pb @@ -1,45 +1,12 @@ node { - name: "keras_learning_phase/input" - op: "Const" - attr { - key: "dtype" - value { - type: DT_BOOL - } - } - attr { - key: "value" - value { - tensor { - dtype: DT_BOOL - tensor_shape { - } - bool_val: false - } - } - } -} -node { - name: "keras_learning_phase" - op: "PlaceholderWithDefault" - input: "keras_learning_phase/input" - attr { - key: "dtype" - value { - type: DT_BOOL - } - } + name: "placeholder_0" + op: "Placeholder" attr { - key: "shape" + key: "_user_specified_name" value { - shape { - } + s: "placeholder_0" } } -} -node { - name: "placeholder_0" - op: "Placeholder" attr { key: "dtype" value { @@ -67,7 +34,7 @@ node { } } node { - name: "const_1" + name: "result/filter" op: "Const" attr { key: "dtype" @@ -103,7 +70,7 @@ node { name: "result" op: "Conv2D" input: "placeholder_0" - input: "const_1" + input: "result/filter" attr { key: "T" value { @@ -158,6 +125,17 @@ node { } } } +node { + name: "Identity" + op: "Identity" + input: "result" + attr { + key: "T" + value { + type: DT_FLOAT + } + } +} versions { - producer: 498 + producer: 714 } diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/model.tflite b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/model.tflite Binary files differnew file mode 100644 index 0000000..8b5bdf6 --- /dev/null +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/model.tflite diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/test.json b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/test.json index 5962306..58766b7 100644 --- a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/test.json +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/test.json @@ -1,12 +1,15 @@ { - "pb": "test_tf.pb", - "ofm_file": "ref_ofm.npy", - "ofm_placeholder": "result", + "tf_model_filename": "model.pb", + "tf_result_npy_filename": "tf_result.npy", + "tf_result_name": "result", + "tflite_model_filename": "model.tflite", + "tflite_result_npy_filename": "tflite_result.npy", + "tflite_result_name": "Identity", "ifm_file": [ "placeholder_0.npy" ], - "ifm_placeholder": [ - "placeholder_0:0" + "ifm_name": [ + "placeholder_0" ], "ifm_shape": [ [ diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/ref_ofm.npy b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/tf_result.npy Binary files differindex d0ee52f..d0ee52f 100644 --- a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/ref_ofm.npy +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/tf_result.npy diff --git a/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/tflite_result.npy b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/tflite_result.npy Binary files differnew file mode 100644 index 0000000..701ffeb --- /dev/null +++ b/examples/test_conv2d_1x1_1x32x32x8_f32_st11_padSAME_dilat11/tflite_result.npy |