We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce076a7 commit f699ee7Copy full SHA for f699ee7
tensorflow/examples/android/jni/tensorflow_jni.cc
@@ -35,6 +35,8 @@ limitations under the License.
35
#include "tensorflow/core/public/session.h"
36
#include "tensorflow/examples/android/jni/jni_utils.h"
37
38
+using namespace tensorflow;
39
+
40
// Global variables that holds the Tensorflow classifier.
41
static std::unique_ptr<tensorflow::Session> session;
42
@@ -49,8 +51,6 @@ static int g_image_mean; // The image mean.
49
51
static int g_num_runs = 0;
50
52
static int64 g_timing_total_us = 0;
53
-using namespace tensorflow;
-
54
inline static int64 CurrentThreadTimeUs() {
55
struct timeval tv;
56
gettimeofday(&tv, NULL);
0 commit comments