Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 49) sorted by relevance

12

/tflite-micro-3.4.0-2.7.6/tensorflow/lite/core/api/
Derror_reporter.cc20 int ErrorReporter::Report(const char* format, ...) { in Report() argument
22 va_start(args, format); in Report()
23 int code = Report(format, args); in Report()
30 int ErrorReporter::ReportError(void*, const char* format, ...) { in ReportError() argument
32 va_start(args, format); in ReportError()
33 int code = Report(format, args); in ReportError()
Derror_reporter.h38 virtual int Report(const char* format, va_list args) = 0;
39 int Report(const char* format, ...);
40 int ReportError(void*, const char* format, ...);
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/
Dmicro_error_reporter.cc31 void Log(const char* format, va_list args) { in Log() argument
38 MicroVsnprintf(log_buffer, kMaxLogLen, format, args); in Log()
47 void MicroPrintf(const char* format, ...) { in MicroPrintf() argument
49 va_start(args, format); in MicroPrintf()
50 Log(format, args); in MicroPrintf()
63 int MicroErrorReporter::Report(const char* format, va_list args) { in Report() argument
64 Log(format, args); in Report()
Dmicro_error_reporter.h26 void MicroPrintf(const char* format, ...);
30 #define MicroPrintf(format, ...) argument
41 int Report(const char* format, va_list args) override;
Dmicro_string.h25 int MicroVsnprintf(char* output, int len, const char* format, va_list args);
30 int MicroSnprintf(char* output, int len, const char* format, ...);
Dmicro_string.cc234 extern "C" int MicroVsnprintf(char* output, int len, const char* format, in MicroVsnprintf() argument
237 const char* current = format; in MicroVsnprintf()
311 extern "C" int MicroSnprintf(char* output, int len, const char* format, ...) { in MicroSnprintf() argument
313 va_start(args, format); in MicroSnprintf()
314 int bytes_written = MicroVsnprintf(output, len, format, args); in MicroSnprintf()
Dmicro_interpreter.cc338 const char* format, ...) { in ReportOpError() argument
343 va_start(args, format); in ReportOpError()
344 TF_LITE_REPORT_ERROR(interpreter->error_reporter_, format, args); in ReportOpError()
Dmicro_mutable_op_resolver_test.cc43 int Report(const char* format, va_list args) override { in Report() argument
Dmicro_interpreter.h145 static void ReportOpError(struct TfLiteContext* context, const char* format,
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/micro_speech/CMSIS/
Dcreate_constants.py35 xstr = '#include "{}/{}.h"\n\n'.format(cmsis_path, varname)
36 xstr += 'const int g_{}_size = {};\n'.format(varname, len(x))
37 xstr += 'const int16_t g_{}[{}] = {{{}}};\n'.format(varname, len(x),
47 xstr = '#ifndef {}{}_H_\n'.format(tf_prepend, varname.upper())
48 xstr += '#define {}{}_H_\n\n'.format(tf_prepend, varname.upper())
50 xstr += 'extern const int g_{}_size;\n'.format(varname)
51 xstr += 'extern const int16_t g_{}[];\n\n'.format(varname)
52 xstr += '#endif // {}{}_H_'.format(tf_prepend, varname.upper())
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/vexriscv/utils/
Dlog_parser.py158 print("Extracted {} lines".format(len(processed)))
177 print("Parsed the log to `{}`".format(output))
188 extractor = re.compile(r"{} (.*) at".format(message))
193 print("Processing {:.2f}%".format((idx + 1) / len(data) * 100.), end="\r")
212 print("Extracted {} lines ({:.2f}%); {} lines are ignored ({:.2f}%)".format(
220 print("Parsed the log to `{}`".format(output))
235 print("Raw log: {} lines".format(len(data)))
240 print("* {} patterns in the ignore list".format(len(ignore_list)))
245 output = "{}-parsed{}".format(name, ext)
261 print("Parsed log: {} lines".format(len(data)))
[all …]
/tflite-micro-3.4.0-2.7.6/third_party_static/ruy/ruy/profiler/
Dinstrumentation.h40 void Set(const char* format) { in Set() argument
41 format_ = format; in Set()
45 void Set(const char* format, Args... args) { in Set() argument
46 format_ = format; in Set()
56 const char* format() const { return format_; } in format() function
/tflite-micro-3.4.0-2.7.6/.github/actions/docker_action/
DDockerfile13 RUN apt-get install -y clang-12 clang-format-12
14 # Set clang-12 and clang-format-12 as the default to ensure that the pigweed
18 RUN ln -s /usr/bin/clang-format-12 /usr/bin/clang-format
/tflite-micro-3.4.0-2.7.6/ci/
DDockerfile.micro23 RUN apt-get install -y clang-12 clang-format-12
24 # Set clang-12 and clang-format-12 as the default to ensure that the pigweed
28 RUN ln -s /usr/bin/clang-format-12 /usr/bin/clang-format
/tflite-micro-3.4.0-2.7.6/
D.clang-format2 # clang-format -i --style=file <file>
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/
Dkernel_runner.cc158 const char* format, ...) { in ReportOpError() argument
160 va_start(args, format); in ReportOpError()
161 GetMicroErrorReporter()->Report(format, args); in ReportOpError()
Dkernel_runner.h63 static void ReportOpError(struct TfLiteContext* context, const char* format,
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/templates/
Dtasks.json.make.tpl3 // for the documentation about the tasks.json format
Dtasks.json.mbed.tpl3 // for the documentation about the tasks.json format
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/targets/ecm3531/
Dflash_program46 "flash write_image {}\n".format(elf_file),
Dload_program45 "load_image {}\n".format(elf_file),
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/person_detection/utils/
Draw_to_bitmap.py56 raise argparse.ArgumentTypeError('{0} does not exist'.format(x))
185 version='%(prog)s {ver}'.format(ver='v%d.%d' %
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/magic_wand/train/
Dtrain.py97 data_loader.format()
153 print("Loss {}, Accuracy {}".format(loss, acc))
/tflite-micro-3.4.0-2.7.6/third_party/flatbuffers/
Dbuild_defs.bzl284 outputs = [ctx.actions.declare_directory("{}_all".format(ctx.attr.name))]
322 progress_message = "Generating flatbuffer files for {}:".format(src),
427 all_srcs = "{}_srcs".format(name)
435 all_srcs_no_include = "{}_srcs_no_include".format(name)
444 concat_py_srcs = "{}_generated".format(name)
448 ":{}".format(all_srcs_no_include),
454 ":{}".format(concat_py_srcs),
570 genrule_cmd = command_fmt.format(
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/
Dflatbuffers.patch19 // clang-format off

12