diff options
author | 박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com> | 2019-09-18 10:37:31 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2019-09-18 10:37:31 +0900 |
commit | a262e23b92191e7895cd675559f1bd7f9aa1c917 (patch) | |
tree | 998c7395194142169fa6ea24e6082b4fa6c45102 | |
parent | 6cc60fb4009a552da4f244ca1d4500a6e541d248 (diff) | |
download | nnfw-a262e23b92191e7895cd675559f1bd7f9aa1c917.tar.gz nnfw-a262e23b92191e7895cd675559f1bd7f9aa1c917.tar.bz2 nnfw-a262e23b92191e7895cd675559f1bd7f9aa1c917.zip |
[res] Unit test of RealDiv 001 (#7549)
This will add RealDiv unit test 001 for broadcasting
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
-rw-r--r-- | res/TensorFlowTests/UNIT_RealDiv_001/test.info | 3 | ||||
-rw-r--r-- | res/TensorFlowTests/UNIT_RealDiv_001/test.pbtxt | 61 |
2 files changed, 64 insertions, 0 deletions
diff --git a/res/TensorFlowTests/UNIT_RealDiv_001/test.info b/res/TensorFlowTests/UNIT_RealDiv_001/test.info new file mode 100644 index 000000000..ecc4cc5a3 --- /dev/null +++ b/res/TensorFlowTests/UNIT_RealDiv_001/test.info @@ -0,0 +1,3 @@ +input, input_01:0, TF_FLOAT, [1, 3, 3, 5] +input, input_02:0, TF_FLOAT, [5] +output, div:0, TF_FLOAT, [1, 3, 3, 5] diff --git a/res/TensorFlowTests/UNIT_RealDiv_001/test.pbtxt b/res/TensorFlowTests/UNIT_RealDiv_001/test.pbtxt new file mode 100644 index 000000000..4ee3bb898 --- /dev/null +++ b/res/TensorFlowTests/UNIT_RealDiv_001/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: "div" + op: "RealDiv" + input: "input_01" + input: "input_02" + attr { + key: "T" + value { + type: DT_FLOAT + } + } +} |