diff options
author | Kiril Gorovoy <kgorovoy@google.com> | 2017-03-10 10:09:30 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-03-10 10:29:07 -0800 |
commit | 0da4acdf225753becca25b9dc9127cca7b2bc465 (patch) | |
tree | 5a41162fe2babe8089b22472562f8362c6060a56 /tensorflow/cc/saved_model | |
parent | b92f7aa6fea523fb3521da331dec43aba521ec81 (diff) |
Add a classification signature to the test saved_model_half_plus_two_model.
Test using this classification signature using the Predict API.
Change: 149769547
Diffstat (limited to 'tensorflow/cc/saved_model')
-rwxr-xr-x | tensorflow/cc/saved_model/testdata/half_plus_two/00000123/saved_model.pb | bin | 9800 -> 9927 bytes | |||
-rwxr-xr-x | tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt | 40 |
2 files changed, 38 insertions, 2 deletions
diff --git a/tensorflow/cc/saved_model/testdata/half_plus_two/00000123/saved_model.pb b/tensorflow/cc/saved_model/testdata/half_plus_two/00000123/saved_model.pb Binary files differindex eeac8b1206..d4ca4403d7 100755 --- a/tensorflow/cc/saved_model/testdata/half_plus_two/00000123/saved_model.pb +++ b/tensorflow/cc/saved_model/testdata/half_plus_two/00000123/saved_model.pb diff --git a/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt b/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt index 356dbe6eca..b24ebc7dda 100755 --- a/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt +++ b/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/saved_model.pbtxt @@ -447,7 +447,7 @@ meta_graphs { } } tags: "serve" - tensorflow_version: "0.12.head" + tensorflow_version: "1.0.0" tensorflow_git_version: "unknown" } graph_def { @@ -1714,7 +1714,7 @@ meta_graphs { dtype: DT_STRING tensor_shape { } - string_val: "_temp_aeab824a1fc94305a10a2504f5995de2/part" + string_val: "_temp_d286b725003942fd8bac94b6c67e7c0c/part" } } } @@ -2504,6 +2504,42 @@ meta_graphs { } } signature_def { + key: "classify_x2_to_y3" + value { + inputs { + key: "inputs" + value { + name: "x2:0" + dtype: DT_FLOAT + tensor_shape { + dim { + size: -1 + } + dim { + size: 1 + } + } + } + } + outputs { + key: "scores" + value { + name: "y3:0" + dtype: DT_FLOAT + tensor_shape { + dim { + size: -1 + } + dim { + size: 1 + } + } + } + } + method_name: "tensorflow/serving/classify" + } + } + signature_def { key: "classify_x_to_y" value { inputs { |