Searched refs:max_size (Results 1 – 2 of 2) sorted by relevance
316 size_t max_size = 0; in GetMaximumMemorySize() local321 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() local350 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()
53 int index, int max_size, in ValidateTensorIndexingSafe() argument56 if (index < 0 || index >= max_size) { in ValidateTensorIndexingSafe()59 max_size); in ValidateTensorIndexingSafe()76 int max_size, const int* tensor_indices) { in ValidateTensorIndexing() argument77 if (index >= 0 && index < max_size) { in ValidateTensorIndexing()