simple_memory_arena_debug_dump.cc
Megabyte-scale size constant in sourceapache web server name
SHA-2560767d09a4a87f721f40bcbfabfbb4d90a655c4c1b31ff2f34ee851687551908b
MaleculeH(Mg)
Evidence
1/* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is …
11:42… IND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15#include <algorithm>
16#include <cstdint>
17#include <cstdio>
18#include <functional>
19#include <limits>
20#include <queue>
21#include <string>
22#include <vector>
23
24#include "tensorflow/lite/simple_memory_arena.h"
25
26namespace tflite {
27namespace {
28// Same w/ that defined in tensorflow/lite/arena_planner.cc.
29constexpr int32_t kNodeNotAssigned = std::numeric_ …
116:35… otal_bytes,
117 static_cast<float>(usage->total_bytes) / (1 << 20),
118 static_cast<float>(usage->total_bytes) / arena_size_ * 100.0,
119 usage->live_tensors.size());
120 PrintInt …