Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 2 of 2) sorted by relevance

/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/memory_planner/
Dgreedy_memory_planner.cc316 size_t max_size = 0; in GetMaximumMemorySize() local
321 if (current_size > max_size) { in GetMaximumMemorySize()
322 max_size = current_size; in GetMaximumMemorySize()
329 return max_size; in GetMaximumMemorySize()
343 int max_size = kLineWidth; in PrintMemoryPlan() local
350 if (size > max_size) { in PrintMemoryPlan()
351 max_size = size; in PrintMemoryPlan()
376 const int line_start = (offset * kLineWidth) / max_size; in PrintMemoryPlan()
377 const int line_end = ((offset + size) * kLineWidth) / max_size; in PrintMemoryPlan()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/kernels/
Dkernel_util.cc53 int index, int max_size, in ValidateTensorIndexingSafe() argument
56 if (index < 0 || index >= max_size) { in ValidateTensorIndexingSafe()
59 max_size); in ValidateTensorIndexingSafe()
76 int max_size, const int* tensor_indices) { in ValidateTensorIndexing() argument
77 if (index >= 0 && index < max_size) { in ValidateTensorIndexing()