aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/cc/saved_model
diff options
context:
space:
mode:
authorGravatar Kiril Gorovoy <kgorovoy@google.com>2016-11-16 17:02:40 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-16 17:08:56 -0800
commit0b5738774238baa832133983184da32dd2aa985a (patch)
tree9e9ed3a35fdae9e49726b2c354ab65ed9bd8ffa6 /tensorflow/cc/saved_model
parent4919aee13732911ce9214360a3740e62ea18db02 (diff)
Change visibility of the SavedModel shim to public.
Delete bundle_shim_constants.h and use the new constant in signature_constants.h instead. Change: 139399882
Diffstat (limited to 'tensorflow/cc/saved_model')
-rw-r--r--tensorflow/cc/saved_model/signature_constants.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/cc/saved_model/signature_constants.h b/tensorflow/cc/saved_model/signature_constants.h
index 75a2831ab4..5a784874cd 100644
--- a/tensorflow/cc/saved_model/signature_constants.h
+++ b/tensorflow/cc/saved_model/signature_constants.h
@@ -18,6 +18,11 @@ limitations under the License.
namespace tensorflow {
+// Key in the signature def map for `default` serving signatures. The default
+// signature is used in inference requests where a specific signature was not
+// specified.
+static constexpr char kDefaultServingSignatureDefKey[] = "serving_default";
+
////////////////////////////////////////////////////////////////////////////////
// Classification API constants.