MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / empty

Method empty

tensorflow/lite/experimental/kernels/top_n.h:103–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 size_t size() const { return std::min(elements_.size(), limit_); }
102
103 bool empty() const { return size() == 0; }
104
105 // If you know how many elements you will push at the time you create the
106 // TopN object, you can call reserve to preallocate the memory that TopN

Callers 15

TESTFunction · 0.45
ParseQuantizationMethod · 0.45
PartitionMethod · 0.45
AllocateMethod · 0.45
ResizeInputTensorMethod · 0.45
UndoAllDelegatesMethod · 0.45
ProcessProfilesMethod · 0.45
PopulateTensorMethod · 0.45
SetWeightsMethod · 0.45
TESTFunction · 0.45
BuildInterpreterMethod · 0.45

Calls 1

sizeFunction · 0.50

Tested by 15

TESTFunction · 0.36
PopulateTensorMethod · 0.36
SetWeightsMethod · 0.36
TESTFunction · 0.36
BuildInterpreterMethod · 0.36
AddTensorMethod · 0.36
TESTFunction · 0.36
ToStringFunction · 0.36
TestSomeGemmFunction · 0.36
EvalFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36