diff options
author | Peter Hawkins <phawkins@google.com> | 2017-05-09 09:14:16 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-05-10 16:29:47 -0700 |
commit | 1d0b8c007b8bc7f77dd63c74f02d87185071f038 (patch) | |
tree | b72df4064224d66c62bb4a126efb06fa214fa439 /tensorflow/examples/multibox_detector | |
parent | b9845c6d0d5dc601fb3b58206a7070aa8937af4f (diff) |
Remove unnecessary copies of value parameters.
PiperOrigin-RevId: 155511618
Diffstat (limited to 'tensorflow/examples/multibox_detector')
-rw-r--r-- | tensorflow/examples/multibox_detector/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/examples/multibox_detector/main.cc b/tensorflow/examples/multibox_detector/main.cc index 0d6875671b..e38704fd98 100644 --- a/tensorflow/examples/multibox_detector/main.cc +++ b/tensorflow/examples/multibox_detector/main.cc @@ -159,7 +159,7 @@ Status SaveImage(const Tensor& tensor, const string& file_path) { // Reads a model graph definition from disk, and creates a session object you // can use to run it. -Status LoadGraph(string graph_file_name, +Status LoadGraph(const string& graph_file_name, std::unique_ptr<tensorflow::Session>* session) { tensorflow::GraphDef graph_def; Status load_graph_status = |