summaryrefslogtreecommitdiff
path: root/res/TensorFlowTests/Softmax_002
diff options
context:
space:
mode:
author남궁석/On-Device Lab(SR)/Engineer/삼성전자 <sk.namkoong@samsung.com>2019-08-14 10:44:33 +0900
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>2019-08-14 10:44:33 +0900
commitdfb59e412f8a80ee4cf93b69b4e3051e2e2bd741 (patch)
treec3ee6acf2e0455b5d78dcd906620b98d91c83245 /res/TensorFlowTests/Softmax_002
parent9b20c10c195a05ede0d3cfb8e8332bd2fa82b979 (diff)
downloadnnfw-dfb59e412f8a80ee4cf93b69b4e3051e2e2bd741.tar.gz
nnfw-dfb59e412f8a80ee4cf93b69b4e3051e2e2bd741.tar.bz2
nnfw-dfb59e412f8a80ee4cf93b69b4e3051e2e2bd741.zip
[res] Introduce Softmax testcases (#6562)
* [res] Introduce Softmax testcases This commit will introduce `Softmax` testcases Signed-off-by: Seok NamKoong <sk.namkoong@samsung.com> * remove versions
Diffstat (limited to 'res/TensorFlowTests/Softmax_002')
-rw-r--r--res/TensorFlowTests/Softmax_002/test.info2
-rw-r--r--res/TensorFlowTests/Softmax_002/test.pbtxt38
2 files changed, 40 insertions, 0 deletions
diff --git a/res/TensorFlowTests/Softmax_002/test.info b/res/TensorFlowTests/Softmax_002/test.info
new file mode 100644
index 000000000..ae4dcd6a4
--- /dev/null
+++ b/res/TensorFlowTests/Softmax_002/test.info
@@ -0,0 +1,2 @@
+input, Placeholder:0, TF_FLOAT, [2, 3, 4]
+output, Softmax:0, TF_FLOAT, [2, 3, 4]
diff --git a/res/TensorFlowTests/Softmax_002/test.pbtxt b/res/TensorFlowTests/Softmax_002/test.pbtxt
new file mode 100644
index 000000000..e84d73c78
--- /dev/null
+++ b/res/TensorFlowTests/Softmax_002/test.pbtxt
@@ -0,0 +1,38 @@
+# Softmax with rank-3 tensor
+node {
+ name: "Placeholder"
+ op: "Placeholder"
+ attr {
+ key: "dtype"
+ value {
+ type: DT_FLOAT
+ }
+ }
+ attr {
+ key: "shape"
+ value {
+ shape {
+ dim {
+ size: 2
+ }
+ dim {
+ size: 3
+ }
+ dim {
+ size: 4
+ }
+ }
+ }
+ }
+}
+node {
+ name: "Softmax"
+ op: "Softmax"
+ input: "Placeholder"
+ attr {
+ key: "T"
+ value {
+ type: DT_FLOAT
+ }
+ }
+}