diff options
Diffstat (limited to 'res/TensorFlowTests/REGRESSION_0000/test.pbtxt')
-rw-r--r-- | res/TensorFlowTests/REGRESSION_0000/test.pbtxt | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/res/TensorFlowTests/REGRESSION_0000/test.pbtxt b/res/TensorFlowTests/REGRESSION_0000/test.pbtxt new file mode 100644 index 000000000..aa552ce65 --- /dev/null +++ b/res/TensorFlowTests/REGRESSION_0000/test.pbtxt @@ -0,0 +1,68 @@ +# Add network with Placeholder and Const as arguments +node { + name: "Placeholder" + op: "Placeholder" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "shape" + value { + shape { + dim { + size: 2 + } + dim { + size: 3 + } + } + } + } +} +node { + name: "Const" + op: "Const" + attr { + key: "dtype" + value { + type: DT_FLOAT + } + } + attr { + key: "value" + value { + tensor { + dtype: DT_FLOAT + tensor_shape { + dim { + size: 2 + } + dim { + size: 3 + } + } + float_val: 1.1 + float_val: 2.2 + float_val: 3.3 + float_val: 4.4 + float_val: 5.5 + float_val: 6.6 + } + } + } +} +node { + name: "Add" + op: "Add" + input: "Placeholder" + input: "Const" + attr { + key: "T" + value { + type: DT_FLOAT + } + } +} |