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

Function Contains

tensorflow/lite/delegates/gpu/metal/compiled_model.cc:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58using FusionSequence = std::vector<ComputeTaskDescriptorPtr>;
59
60bool Contains(const std::vector<ValueId>& container, ValueId value) {
61 return std::find(container.begin(), container.end(), value) !=
62 container.end();
63}
64
65template <class T>
66bool Contains(const std::vector<T>& container, ValueId value) {

Callers 12

CanFuseOperationsFunction · 0.85
BuildFusableChainsFunction · 0.85
SortChainsFunction · 0.85
GetUsedInputBufferIdsFunction · 0.85
DeductOutputBufferIdsFunction · 0.85
DeleteUnusedTasksFunction · 0.85
ValidateOptimizeModelFunction · 0.85
TESTFunction · 0.85
AddMethod · 0.85
TEST_FFunction · 0.85
TEST_FFunction · 0.85

Calls 5

beginMethod · 0.45
endMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45
insertMethod · 0.45

Tested by 3

TESTFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68