- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_Log (0.06 sec)
-
tensorflow/c/logging.h
#ifdef __cplusplus extern "C" { #endif typedef enum TF_LogLevel { TF_INFO = 0, TF_WARNING = 1, TF_ERROR = 2, TF_FATAL = 3, } TF_LogLevel; TF_CAPI_EXPORT extern void TF_Log(TF_LogLevel level, const char* fmt, ...); TF_CAPI_EXPORT extern void TF_VLog(int level, const char* fmt, ...); TF_CAPI_EXPORT extern void TF_DVLog(int level, const char* fmt, ...); #ifdef __cplusplus } #endif
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 03 18:26:23 UTC 2020 - 1.3K bytes - Viewed (0) -
tensorflow/c/logging.cc
static ::tensorflow::string BuildMessage(const char* fmt, va_list args) { ::tensorflow::string message; ::tensorflow::strings::Appendv(&message, fmt, args); return message; } void TF_Log(TF_LogLevel level, const char* fmt, ...) { if (level < TF_INFO || level > TF_FATAL) return; va_list args; va_start(args, fmt); auto message = BuildMessage(fmt, args); va_end(args); switch (level) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 18 13:10:33 UTC 2020 - 1.8K bytes - Viewed (0)