Home
last modified time | relevance | path

Searched refs:tf_env_var_val (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Denv_var.cc31 const char* tf_env_var_val = getenv(string(env_var_name).c_str()); in ReadBoolFromEnvVar() local
32 if (tf_env_var_val == nullptr) { in ReadBoolFromEnvVar()
35 string str_value = absl::AsciiStrToLower(tf_env_var_val); in ReadBoolFromEnvVar()
45 tf_env_var_val, ". Use the default value: ", default_val)); in ReadBoolFromEnvVar()
51 const char* tf_env_var_val = getenv(string(env_var_name).c_str()); in ReadInt64FromEnvVar() local
52 if (tf_env_var_val == nullptr) { in ReadInt64FromEnvVar()
55 if (strings::safe_strto64(tf_env_var_val, value)) { in ReadInt64FromEnvVar()
60 tf_env_var_val, ". Use the default value: ", default_val)); in ReadInt64FromEnvVar()
66 const char* tf_env_var_val = getenv(string(env_var_name).c_str()); in ReadFloatFromEnvVar() local
67 if (tf_env_var_val == nullptr) { in ReadFloatFromEnvVar()
[all …]
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dlogging.cc72 int64_t LogLevelStrToInt(const char* tf_env_var_val) { in LogLevelStrToInt() argument
73 if (tf_env_var_val == nullptr) { in LogLevelStrToInt()
80 std::string min_log_level(tf_env_var_val); in LogLevelStrToInt()
92 const char* tf_env_var_val = getenv("TF_CPP_MIN_LOG_LEVEL"); in MinLogLevelFromEnv() local
93 return LogLevelStrToInt(tf_env_var_val); in MinLogLevelFromEnv()
97 const char* tf_env_var_val = getenv("TF_CPP_MIN_VLOG_LEVEL"); in MinVLogLevelFromEnv() local
98 return LogLevelStrToInt(tf_env_var_val); in MinVLogLevelFromEnv()
/external/tensorflow/tensorflow/core/platform/default/
Dlogging.cc187 int64 LogLevelStrToInt(const char* tf_env_var_val) { in LogLevelStrToInt() argument
188 if (tf_env_var_val == nullptr) { in LogLevelStrToInt()
191 return ParseInteger(tf_env_var_val, strlen(tf_env_var_val)); in LogLevelStrToInt()
262 const char* tf_env_var_val = getenv("TF_CPP_LOG_THREAD_ID"); in EmitThreadIdFromEnv() local
263 return tf_env_var_val == nullptr in EmitThreadIdFromEnv()
265 : ParseInteger(tf_env_var_val, strlen(tf_env_var_val)) != 0; in EmitThreadIdFromEnv()
280 const char* tf_env_var_val = getenv("TF_CPP_MIN_LOG_LEVEL"); in MinLogLevelFromEnv()
281 return LogLevelStrToInt(tf_env_var_val); in MinLogLevelFromEnv()
295 const char* tf_env_var_val = getenv("TF_CPP_MAX_VLOG_LEVEL"); in MaxVLogLevelFromEnv()
296 return LogLevelStrToInt(tf_env_var_val); in MaxVLogLevelFromEnv()
/external/tensorflow/tensorflow/core/kernels/
Ddeep_conv2d.cc82 const char* tf_env_var_val = getenv(env_var_name); in ReadBoolFromEnvVar() local
83 if (tf_env_var_val != nullptr) { in ReadBoolFromEnvVar()
84 StringPiece tf_env_var_val_str(tf_env_var_val); in ReadBoolFromEnvVar()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.cc2884 const char* tf_env_var_val = getenv(EnvVar::kName); in IsEnabledImpl() local
2885 if (tf_env_var_val != nullptr) { in IsEnabledImpl()
2886 absl::string_view tf_env_var_val_str(tf_env_var_val); in IsEnabledImpl()