diff options
Diffstat (limited to 'res/TensorFlowTests/UNIT_Reshape_000/test.pbtxt')
-rw-r--r-- | res/TensorFlowTests/UNIT_Reshape_000/test.pbtxt | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/res/TensorFlowTests/UNIT_Reshape_000/test.pbtxt b/res/TensorFlowTests/UNIT_Reshape_000/test.pbtxt new file mode 100644 index 000000000..a648fb43c --- /dev/null +++ b/res/TensorFlowTests/UNIT_Reshape_000/test.pbtxt @@ -0,0 +1,63 @@ +node { + name: "Placeholder" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 6 + } + } + } + } +} +node { + name: "New_shape" + op: "Const" + attr { + key: "dtype" + value { + type: DT_INT32 + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_INT32 + tensor_shape { + dim { + size: 2 + } + } + int_val: 2 + int_val: 3 + } + } + } +} +node { + name: "Reshape" + op: "Reshape" + input: "Placeholder" + input: "New_shape" + attr { + key: "T" + value { + type: DT_FLOAT + } + } + attr { + key: "Tshape" + value { + type: DT_INT32 + } + } +} |