diff options
Diffstat (limited to 'res/TensorFlowTests/NET_0033')
-rw-r--r-- | res/TensorFlowTests/NET_0033/test.info | 7 | ||||
-rw-r--r-- | res/TensorFlowTests/NET_0033/test.manifest | 1 | ||||
-rw-r--r-- | res/TensorFlowTests/NET_0033/test.pbtxt | 329 |
3 files changed, 337 insertions, 0 deletions
diff --git a/res/TensorFlowTests/NET_0033/test.info b/res/TensorFlowTests/NET_0033/test.info new file mode 100644 index 000000000..30a242554 --- /dev/null +++ b/res/TensorFlowTests/NET_0033/test.info @@ -0,0 +1,7 @@ +# The number of final concat node should be 3 +input, Placeholder:0, TF_FLOAT, [1, 2, 3, 1] +input, Placeholder_1:0, TF_FLOAT, [1, 2, 3, 1] +input, Placeholder_2:0, TF_FLOAT, [1, 2, 3, 2] +input, Placeholder_3:0, TF_FLOAT, [1, 2, 3, 2] +input, Placeholder_4:0, TF_FLOAT, [1, 2, 3, 2] +output, concat_3:0, TF_FLOAT, [1, 4, 6, 2] diff --git a/res/TensorFlowTests/NET_0033/test.manifest b/res/TensorFlowTests/NET_0033/test.manifest new file mode 100644 index 000000000..0c1ddcd4b --- /dev/null +++ b/res/TensorFlowTests/NET_0033/test.manifest @@ -0,0 +1 @@ +SUMMARY: Multiple concats with different axes. Concats with same axes are non-terminal and not possible to merge diff --git a/res/TensorFlowTests/NET_0033/test.pbtxt b/res/TensorFlowTests/NET_0033/test.pbtxt new file mode 100644 index 000000000..c43940f0b --- /dev/null +++ b/res/TensorFlowTests/NET_0033/test.pbtxt @@ -0,0 +1,329 @@ +node { + name: "Placeholder" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 2 + } + dim { + size: 3 + } + dim { + size: 1 + } + } + } + } +} +node { + name: "Placeholder_1" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 2 + } + dim { + size: 3 + } + dim { + size: 1 + } + } + } + } +} +node { + name: "Placeholder_2" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 2 + } + dim { + size: 3 + } + dim { + size: 2 + } + } + } + } +} +node { + name: "Placeholder_3" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 2 + } + dim { + size: 3 + } + dim { + size: 2 + } + } + } + } +} +node { + name: "Placeholder_4" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 1 + } + dim { + size: 2 + } + dim { + size: 3 + } + dim { + size: 2 + } + } + } + } +} +node { + name: "concat/axis" + op: "Const" + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 3 + } + } + } +} +node { + name: "concat" + op: "ConcatV2" + input: "Placeholder" + input: "Placeholder_1" + input: "concat/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } +} +node { + name: "concat_1/axis" + op: "Const" + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "concat_1" + op: "ConcatV2" + input: "concat" + input: "Placeholder_2" + input: "concat_1/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } +} +node { + name: "concat_2/axis" + op: "Const" + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 1 + } + } + } +} +node { + name: "concat_2" + op: "ConcatV2" + input: "Placeholder_4" + input: "Placeholder_3" + input: "concat_2/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } +} +node { + name: "concat_3/axis" + op: "Const" + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + } + int_val: 2 + } + } + } +} +node { + name: "concat_3" + op: "ConcatV2" + input: "concat_1" + input: "concat_2" + input: "concat_3/axis" + attr { + key: "N" + value { + i: 2 + } + } + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tidx" + value { + type: DT_INT32 + } + } +} |