Home
last modified time | relevance | path

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

/tflite-micro-3.4.0-2.7.6/tensorflow/lite/core/api/
Derror_reporter.cc21 va_list args; in Report() local
22 va_start(args, format); in Report()
23 int code = Report(format, args); in Report()
24 va_end(args); in Report()
31 va_list args; in ReportError() local
32 va_start(args, format); in ReportError()
33 int code = Report(format, args); in ReportError()
34 va_end(args); in ReportError()
Derror_reporter.h38 virtual int Report(const char* format, va_list args) = 0;
/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()
48 va_list args; in MicroPrintf() local
49 va_start(args, format); in MicroPrintf()
50 Log(format, args); in MicroPrintf()
51 va_end(args); in MicroPrintf()
63 int MicroErrorReporter::Report(const char* format, va_list args) { in Report() argument
64 Log(format, args); in Report()
Dmicro_string.cc235 va_list args) { in MicroVsnprintf() argument
251 FormatInt32(&output[output_index], va_arg(args, int32_t)); in MicroVsnprintf()
260 FormatUInt32(&output[output_index], va_arg(args, uint32_t)); in MicroVsnprintf()
271 FormatHex(&output[output_index], va_arg(args, uint32_t)); in MicroVsnprintf()
280 FormatFloat(&output[output_index], va_arg(args, double)); in MicroVsnprintf()
291 output[output_index++] = va_arg(args, int32_t); in MicroVsnprintf()
295 char* string = va_arg(args, char*); in MicroVsnprintf()
312 va_list args; in MicroSnprintf() local
313 va_start(args, format); in MicroSnprintf()
314 int bytes_written = MicroVsnprintf(output, len, format, args); in MicroSnprintf()
[all …]
Dmicro_interpreter.cc342 va_list args; in ReportOpError() local
343 va_start(args, format); in ReportOpError()
344 TF_LITE_REPORT_ERROR(interpreter->error_reporter_, format, args); in ReportOpError()
345 va_end(args); in ReportOpError()
368 TfLiteIntArray** args) { in GetGraph() argument
371 *args = reinterpret_cast<TfLiteIntArray*>(&interpreter->graph_); in GetGraph()
Dmicro_string.h25 int MicroVsnprintf(char* output, int len, const char* format, va_list args);
Dmicro_error_reporter.h41 int Report(const char* format, va_list args) override;
Dmicro_mutable_op_resolver_test.cc43 int Report(const char* format, va_list args) override { in Report() argument
Dmicro_interpreter.h152 TfLiteIntArray** args);
Dtest_helpers.cc1178 va_list args; in ReportOpError() local
1179 va_start(args, format); in ReportOpError()
1180 TF_LITE_REPORT_ERROR(error_reporter, format, args); in ReportOpError()
1181 va_end(args); in ReportOpError()
/tflite-micro-3.4.0-2.7.6/third_party_static/ruy/ruy/profiler/
Dinstrumentation.h37 explicit Label(Args... args) { in Label() argument
38 Set(args...); in Label()
45 void Set(const char* format, Args... args) { in Set() argument
47 args_count_ = sizeof...(args); in Set()
48 SetArgs(0, args...); in Set()
62 void SetArgs(int position, int arg0, Args... args) { in SetArgs() argument
64 SetArgs(position + 1, args...); in SetArgs()
129 void Push(Args... args) { in Push() argument
149 stack_.labels[stack_.size++].Set(args...); in Push()
176 ScopeLabel(Args... args) : thread_stack_(detail::ThreadLocalThreadStack()) { in ScopeLabel() argument
[all …]
/tflite-micro-3.4.0-2.7.6/.github/assets/
Dwrite_json.py22 args = parser.parse_args() variable
23 if args.values[0] == 'random': args.values[1] = random.randrange(1000)
24 write_json(args.file, args.values)
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/
Dspecialize_files.py54 args = parser.parse_args() variable
56 if args.base_files != "" and args.specialize_directory != "":
58 _specialize_files(args.base_files.split(), args.specialize_directory)))
Dpigweed.patch20 def _yapf(*args, **kwargs) -> subprocess.CompletedProcess:
21 - return log_run(['python', '-m', 'yapf', '--parallel', *args],
22 …n(['python', '-m', 'yapf', '--style', '{based_on_style:pep8,indent_width:2}', '--parallel', *args],
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/vexriscv/utils/
Dlog_parser.py330 args = parser.parse_args() variable
332 if args.output is None:
333 fname, extension = os.path.splitext(args.input)
334 args.output = "{}-parsed{}".format(fname, extension)
336 parse_log(args.input, args.output, args.regex, args.source, args.ignore,
337 args.full_trace)
339 if args.visualize:
340 visualize_log(args.output, top=args.top, title=args.title)
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/project_generation/
Dcreate_tflm_tree.py202 args = parser.parse_args()
204 makefile_options = args.makefile_options
205 if args.no_download:
223 src_files, dest_files = _get_src_and_dest_files(args.output_dir,
226 if args.print_src_files:
229 if args.print_dest_files:
232 if args.no_copy is False:
235 if args.examples is not None:
236 _create_examples_tree(args.output_dir, args.examples)
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/
Dspace_to_depth_test.cc58 void TestSpaceToDepth(const SpaceToDepthTest<T>& args) { in TestSpaceToDepth() argument
59 TfLiteIntArray* input_dims = IntArrayFromInts(args.input_dims); in TestSpaceToDepth()
63 TfLiteTensor tensors[] = {CreateTensor(args.input_data, input_dims), in TestSpaceToDepth()
64 CreateTensor(args.output_data, output_dims)}; in TestSpaceToDepth()
75 op_params.block_size = args.block_size; in TestSpaceToDepth()
84 TfLiteIntArray* expect_dims = IntArrayFromInts(args.expect_dims); in TestSpaceToDepth()
86 ExpectNear(args.output_data, args.expect_data, ElementCount(*expect_dims)); in TestSpaceToDepth()
Dkernel_runner.cc159 va_list args; in ReportOpError() local
160 va_start(args, format); in ReportOpError()
161 GetMicroErrorReporter()->Report(format, args); in ReportOpError()
162 va_end(args); in ReportOpError()
166 TfLiteIntArray** args) { in GetGraph() argument
171 *args = reinterpret_cast<TfLiteIntArray*>(runner->GetMockGraph()); in GetGraph()
Dkernel_runner.h69 TfLiteIntArray** args);
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/magic_wand/train/
Dtrain.py102 def build_net(args, seq_length): argument
103 if args.model == "CNN":
105 elif args.model == "LSTM":
181 args = parser.parse_args() variable
186 if args.person == "true":
195 model, model_path = build_net(args, seq_length)
199 test_len, test_data, args.model)
/tflite-micro-3.4.0-2.7.6/ci/
Dcheck_tflite_files.py22 args = parser.parse_args() variable
25 pr_files = set(line.strip() for line in open(args.pr_files))
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/examples/person_detection/utils/
Draw_to_bitmap.py188 args = parser.parse_args()
191 channels) = _DICT_RESOLUTIONS.get(args.resolution,
193 frame_list = parse_file(open(args.inputfile), width, height, channels)
195 show_and_save_bitmaps(args.inputfile, bitmap_list, channels)
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/tools/make/templates/
Dtasks.json.mbed.tpl20 "args": [
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/ceva/
Dtypes.h613 const ArrayType2& array2, int index2, Args... args) {
615 return MatchingArraySize(array1, index1, args...);
627 const RuntimeShape& shape2, int index2, Args... args) {
629 return MatchingDim(shape1, index1, args...);
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/kernels/internal/
Dtypes.h464 const ArrayType2& array2, int index2, Args... args) { in MatchingArraySize()
466 return MatchingArraySize(array1, index1, args...); in MatchingArraySize()
478 const RuntimeShape& shape2, int index2, Args... args) { in MatchingDim()
480 return MatchingDim(shape1, index1, args...); in MatchingDim()