diff options
author | 박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com> | 2019-09-05 13:25:51 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2019-09-05 13:25:51 +0900 |
commit | 562b8ee874fae59795d3ce48919217f5d5202378 (patch) | |
tree | da252ecffa0e454796730c888b7ee759fab459a0 /res | |
parent | 6ec9ba99086bc1f02f6a5a2a247a8c8b4bc62f52 (diff) | |
download | nnfw-562b8ee874fae59795d3ce48919217f5d5202378.tar.gz nnfw-562b8ee874fae59795d3ce48919217f5d5202378.tar.bz2 nnfw-562b8ee874fae59795d3ce48919217f5d5202378.zip |
[res] TF test for Mul broadcast (#7187)
This will add two Mul test materials for broadcast operation
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
Diffstat (limited to 'res')
-rw-r--r-- | res/TensorFlowTests/UNIT_Mul_001/test.info | 3 | ||||
-rw-r--r-- | res/TensorFlowTests/UNIT_Mul_001/test.pbtxt | 70 | ||||
-rw-r--r-- | res/TensorFlowTests/UNIT_Mul_002/test.info | 3 | ||||
-rw-r--r-- | res/TensorFlowTests/UNIT_Mul_002/test.pbtxt | 61 |
4 files changed, 137 insertions, 0 deletions
diff --git a/res/TensorFlowTests/UNIT_Mul_001/test.info b/res/TensorFlowTests/UNIT_Mul_001/test.info new file mode 100644 index 000000000..9de3a648a --- /dev/null +++ b/res/TensorFlowTests/UNIT_Mul_001/test.info @@ -0,0 +1,3 @@ +input, input_01:0, TF_FLOAT, [1, 3, 3, 5] +input, input_02:0, TF_FLOAT, [1, 1, 1, 5] +output, mul:0, TF_FLOAT, [1, 3, 3, 5] diff --git a/res/TensorFlowTests/UNIT_Mul_001/test.pbtxt b/res/TensorFlowTests/UNIT_Mul_001/test.pbtxt new file mode 100644 index 000000000..a96c9ae5a --- /dev/null +++ b/res/TensorFlowTests/UNIT_Mul_001/test.pbtxt @@ -0,0 +1,70 @@ +node { + name: "input_01" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 3 + } + dim { + size: 3 + } + dim { + size: 5 + } + } + } + } +} +node { + name: "input_02" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 1 + } + dim { + size: 1 + } + dim { + size: 5 + } + } + } + } +} +node { + name: "mul" + op: "Mul" + input: "input_01" + input: "input_02" + attr { + key: "T" + value { + type: DT_FLOAT + } + } +} diff --git a/res/TensorFlowTests/UNIT_Mul_002/test.info b/res/TensorFlowTests/UNIT_Mul_002/test.info new file mode 100644 index 000000000..241ccd9df --- /dev/null +++ b/res/TensorFlowTests/UNIT_Mul_002/test.info @@ -0,0 +1,3 @@ +input, input_01:0, TF_FLOAT, [1, 3, 3, 5] +input, input_02:0, TF_FLOAT, [5] +output, mul:0, TF_FLOAT, [1, 3, 3, 5] diff --git a/res/TensorFlowTests/UNIT_Mul_002/test.pbtxt b/res/TensorFlowTests/UNIT_Mul_002/test.pbtxt new file mode 100644 index 000000000..9ad65c9f5 --- /dev/null +++ b/res/TensorFlowTests/UNIT_Mul_002/test.pbtxt @@ -0,0 +1,61 @@ +node { + name: "input_01" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 3 + } + dim { + size: 3 + } + dim { + size: 5 + } + } + } + } +} +node { + name: "input_02" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 5 + } + } + } + } +} +node { + name: "mul" + op: "Mul" + input: "input_01" + input: "input_02" + attr { + key: "T" + value { + type: DT_FLOAT + } + } +} |