diff options
Diffstat (limited to 'res/TensorFlowTests/UNIT_PadV2_000')
-rw-r--r-- | res/TensorFlowTests/UNIT_PadV2_000/test.info | 2 | ||||
-rw-r--r-- | res/TensorFlowTests/UNIT_PadV2_000/test.manifest | 1 | ||||
-rw-r--r-- | res/TensorFlowTests/UNIT_PadV2_000/test.pbtxt | 103 |
3 files changed, 106 insertions, 0 deletions
diff --git a/res/TensorFlowTests/UNIT_PadV2_000/test.info b/res/TensorFlowTests/UNIT_PadV2_000/test.info new file mode 100644 index 000000000..accae4857 --- /dev/null +++ b/res/TensorFlowTests/UNIT_PadV2_000/test.info @@ -0,0 +1,2 @@ +input, input:0, TF_FLOAT, [1, 3, 4, 4] +output, PadV2:0, TF_FLOAT, [1, 3, 8, 6] diff --git a/res/TensorFlowTests/UNIT_PadV2_000/test.manifest b/res/TensorFlowTests/UNIT_PadV2_000/test.manifest new file mode 100644 index 000000000..1d00241f2 --- /dev/null +++ b/res/TensorFlowTests/UNIT_PadV2_000/test.manifest @@ -0,0 +1 @@ +SUMMARY: A simple network that has Constant mode Pad with constant values. diff --git a/res/TensorFlowTests/UNIT_PadV2_000/test.pbtxt b/res/TensorFlowTests/UNIT_PadV2_000/test.pbtxt new file mode 100644 index 000000000..cf80fe559 --- /dev/null +++ b/res/TensorFlowTests/UNIT_PadV2_000/test.pbtxt @@ -0,0 +1,103 @@ +node { + name: "input" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 3 + } + dim { + size: 4 + } + dim { + size: 4 + } + } + } + } +} +node { + name: "Const" + op: "Const" + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 4 + } + dim { + size: 2 + } + } + int_val: 0 + int_val: 0 + int_val: 0 + int_val: 0 + int_val: 2 + int_val: 2 + int_val: 1 + int_val: 1 + } + } + } +} +node { + name: "PadV2/constant_values" + op: "Const" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + } + float_val: 2 + } + } + } +} +node { + name: "PadV2" + op: "PadV2" + input: "input" + input: "Const" + input: "PadV2/constant_values" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tpaddings" + value { + type: DT_INT32 + } + } +} |