[res/TensorFlowTests] Modify Custom Op user data (#5941)
author윤현식/On-Device Lab(SR)/Principal Engineer/삼성전자 <hyunsik.yoon@samsung.com>
Mon, 29 Jul 2019 00:43:14 +0000 (09:43 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Mon, 29 Jul 2019 00:43:14 +0000 (09:43 +0900)
This commit adds `dtype` of custom op, which will be accessed for TypeInference.

Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
res/TensorFlowTests/CustomOp_000/compileInfo.pbtxt [moved from res/TensorFlowTests/CustomOp_000/model.meta.pbtxt with 80% similarity]
res/TensorFlowTests/CustomOp_001/compileInfo.pbtxt [moved from res/TensorFlowTests/CustomOp_001/model.meta.pbtxt with 74% similarity]

@@ -3,6 +3,12 @@ custom_op {
   name: "my/customOp/000"
   op: "new_custom_op"
   attr {
+    key: "dtype"
+    value {
+      type: DT_FLOAT
+    }
+  }
+  attr {
     key: "output_shape"
     value {
       shape {
@@ -3,6 +3,12 @@ custom_op {
   name: "FillFrom"
   op: "FillFrom"
   attr {
+    key: "dtype"
+    value {
+      type: DT_FLOAT
+    }
+  }
+  attr {
     key: "output_shape"
     value {
       shape {