diff options
author | 2016-12-02 08:45:59 -0800 | |
---|---|---|
committer | 2016-12-02 09:03:00 -0800 | |
commit | dd4f0ec013f4e1b72b594b7cfab52804bc82f3cd (patch) | |
tree | b6b493e1708baa1da0452992af993d019f7f014b /tensorflow/cc/saved_model | |
parent | 5edc960ab2ae91a977033721f922012a2a5a33cd (diff) |
Fix metric definitions in SavedModel.
Change: 140854331
Diffstat (limited to 'tensorflow/cc/saved_model')
-rw-r--r-- | tensorflow/cc/saved_model/loader.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tensorflow/cc/saved_model/loader.cc b/tensorflow/cc/saved_model/loader.cc index c0a890cd16..2acf9bf777 100644 --- a/tensorflow/cc/saved_model/loader.cc +++ b/tensorflow/cc/saved_model/loader.cc @@ -31,11 +31,13 @@ namespace tensorflow { namespace { auto* load_attempt_count = monitoring::Counter<2>::New( - "/tensorflow/cc/saved_model/load_attempt_count", "model_path", "status", - "The number of times a SavedModel was successfully loaded."); + "/tensorflow/cc/saved_model/load_attempt_count", + "The number of times a SavedModel was successfully loaded.", "model_path", + "status"); auto* load_latency = monitoring::Counter<1>::New( - "/tensorflow/cc/saved_model/load_latency", "model_path", - "Latency in microseconds for SavedModels that were succesfully loaded."); + "/tensorflow/cc/saved_model/load_latency", + "Latency in microseconds for SavedModels that were succesfully loaded.", + "model_path"); constexpr char kLoadAttemptFail[] = "fail"; constexpr char kLoadAttemptSuccess[] = "success"; |