You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class ErrorReporter {
public:
virtual ~ErrorReporter() {}
virtual int Report(const char* format, va_list args) = 0;
int Report(const char* format, ...);
int ReportError(void*, const char* format, ...);
};
}
#ifndef TF_LITE_STRIP_ERROR_STRINGS
#define TF_LITE_REPORT_ERROR(reporter, ...)
do {
reporter->Report(VA_ARGS);
} while (false)
#else // TF_LITE_STRIP_ERROR_STRINGS
#define TF_LITE_REPORT_ERROR(reporter, ...)
#endif // TF_LITE_STRIP_ERROR_STRINGS
#endif
(error_reporter.h 소스코드)
재현환경: Visual Studio Code, Language: C, C++, output_handler: "tensorflow/lite/micro/examples/hello_world/output_handler.h"
에러로그
In file included from tensorflow/lite/micro/examples/hello_world/micro_error_reporter.h:18,
from tensorflow/lite/micro/examples/hello_world/output_handler.h:20,
from MachineRunning.c:1:
tensorflow/lite/micro/examples/hello_world/../../../../../tensorflow/lite/core/api/error_reporter.h:18:10: fatal error: cstdarg: No such file or directory
#include <cstdarg>
^~~~~~~~~
compilation terminated.
TinyML: Tensorflow lite for microcontroller 이슈
이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.
#define TENSORFLOW_LITE_CORE_API_ERROR_REPORTER_H_
#include
namespace tflite {
class ErrorReporter {
public:
virtual ~ErrorReporter() {}
virtual int Report(const char* format, va_list args) = 0;
int Report(const char* format, ...);
int ReportError(void*, const char* format, ...);
};
}
#ifndef TF_LITE_STRIP_ERROR_STRINGS
#define TF_LITE_REPORT_ERROR(reporter, ...)
do {
reporter->Report(VA_ARGS);
} while (false)
#else // TF_LITE_STRIP_ERROR_STRINGS
#define TF_LITE_REPORT_ERROR(reporter, ...)
#endif // TF_LITE_STRIP_ERROR_STRINGS
#endif
(error_reporter.h 소스코드)
Tensorflow Github
Stack Overflow
The text was updated successfully, but these errors were encountered: