From ad4cb2d268bd90c81525418d03ebb31aae3d80f3 Mon Sep 17 00:00:00 2001 From: tucan9389 Date: Wed, 9 May 2018 00:32:19 +0900 Subject: [PATCH 1/2] Just fix little issue that is model_file_type variable but not using it. --- .../lite/examples/ios/camera/CameraExampleViewController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/contrib/lite/examples/ios/camera/CameraExampleViewController.mm b/tensorflow/contrib/lite/examples/ios/camera/CameraExampleViewController.mm index d74e275f0439b1..30fee64a6f6210 100644 --- a/tensorflow/contrib/lite/examples/ios/camera/CameraExampleViewController.mm +++ b/tensorflow/contrib/lite/examples/ios/camera/CameraExampleViewController.mm @@ -315,7 +315,7 @@ - (void)viewDidLoad { labelLayers = [[NSMutableArray alloc] init]; oldPredictionValues = [[NSMutableDictionary alloc] init]; - NSString* graph_path = FilePathForResourceName(model_file_name, @"tflite"); + NSString* graph_path = FilePathForResourceName(model_file_name, model_file_type); model = tflite::FlatBufferModel::BuildFromFile([graph_path UTF8String]); if (!model) { LOG(FATAL) << "Failed to mmap model " << graph_path; From d46c73a8766be9342164f3c01d94879746a7b3c2 Mon Sep 17 00:00:00 2001 From: tucan <37643248+tucan9389@users.noreply.github.com> Date: Wed, 6 Jun 2018 13:26:35 +0900 Subject: [PATCH 2/2] Update CONTRIBUTING.md Just update clang-tidy to `clang-tidy`. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3dad41a88c8212..aab506f419e549 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -79,7 +79,7 @@ Bazel BUILD files also need to include a license section, e.g., Changes to TensorFlow C++ code should conform to [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html). -Use `clang-tidy` to check your C/C++ changes. To install clang-tidy on ubuntu:16.04, do: +Use `clang-tidy` to check your C/C++ changes. To install `clang-tidy` on ubuntu:16.04, do: ```bash apt-get install -y clang-tidy