MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetModelDescription

Function GetModelDescription

src/profiling/test/TimelineModel.cpp:330–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330std::vector<std::string> GetModelDescription(const TimelineModel& model)
331{
332 std::vector<std::string> desc;
333 for (auto& entry : model.GetEntities())
334 {
335 auto& entity = entry.second;
336 desc.push_back(GetEntityDescription(entity));
337 for (auto& connection : entity.GetConnections())
338 {
339 desc.push_back(GetConnectionDescription(connection));
340 }
341 for (auto child : entity.GetChildren())
342 {
343 desc.push_back(GetChildDescription(child));
344 }
345 for (auto execution : entity.GetExecutions())
346 {
347 desc.push_back(GetExecutionDescription(execution));
348 }
349 for (auto event : entity.GetEvents())
350 {
351 desc.push_back(GetEventDescription(event));
352 }
353 }
354 return desc;
355}
356
357std::string GetEntityDescription(const Entity& entity)
358{

Calls 6

GetEntityDescriptionFunction · 0.85
GetConnectionDescriptionFunction · 0.85
GetChildDescriptionFunction · 0.85
GetExecutionDescriptionFunction · 0.85
GetEventDescriptionFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected