diff options
author | 박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com> | 2019-09-05 14:26:44 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2019-09-05 14:26:44 +0900 |
commit | a09d77767d863a029dc9d59d6361540dc5a94b74 (patch) | |
tree | 2d2a57a738dd35943c2ce4d3114d07abd6551327 | |
parent | dede105208c9408ebc991a25479785187a864ecb (diff) | |
download | nnfw-a09d77767d863a029dc9d59d6361540dc5a94b74.tar.gz nnfw-a09d77767d863a029dc9d59d6361540dc5a94b74.tar.bz2 nnfw-a09d77767d863a029dc9d59d6361540dc5a94b74.zip |
[res] TF test for SquaredDifference broadcast (#7190)
This will add SquaredDifference test material for broadcast operation
Signed-off-by: SaeHie Park <saehie.park@samsung.com>
-rw-r--r-- | res/TensorFlowTests/UNIT_SquaredDifference_001/test.info | 3 | ||||
-rw-r--r-- | res/TensorFlowTests/UNIT_SquaredDifference_001/test.pbtxt | 70 |
2 files changed, 73 insertions, 0 deletions
diff --git a/res/TensorFlowTests/UNIT_SquaredDifference_001/test.info b/res/TensorFlowTests/UNIT_SquaredDifference_001/test.info new file mode 100644 index 000000000..8dfd36065 --- /dev/null +++ b/res/TensorFlowTests/UNIT_SquaredDifference_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, squared_difference:0, TF_FLOAT, [1, 3, 3, 5] diff --git a/res/TensorFlowTests/UNIT_SquaredDifference_001/test.pbtxt b/res/TensorFlowTests/UNIT_SquaredDifference_001/test.pbtxt new file mode 100644 index 000000000..5ef69e22f --- /dev/null +++ b/res/TensorFlowTests/UNIT_SquaredDifference_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: "squared_difference" + op: "SquaredDifference" + input: "input_01" + input: "input_02" + attr { + key: "T" + value { + type: DT_FLOAT + } + } +} |