summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>2019-09-18 01:37:31 (GMT)
committerGitHub Enterprise <noreply-CODE@samsung.com>2019-09-18 01:37:31 (GMT)
commita262e23b92191e7895cd675559f1bd7f9aa1c917 (patch)
tree998c7395194142169fa6ea24e6082b4fa6c45102
parent6cc60fb4009a552da4f244ca1d4500a6e541d248 (diff)
downloadnnfw-a262e23b92191e7895cd675559f1bd7f9aa1c917.zip
nnfw-a262e23b92191e7895cd675559f1bd7f9aa1c917.tar.gz
nnfw-a262e23b92191e7895cd675559f1bd7f9aa1c917.tar.bz2
[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.info3
-rw-r--r--res/TensorFlowTests/UNIT_RealDiv_001/test.pbtxt61
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 0000000..ecc4cc5
--- /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 0000000..4ee3bb8
--- /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
+ }
+ }
+}