MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / validate_all_nodes

Function validate_all_nodes

src/graph/detail/ExecutionHelpers.cpp:39–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace detail
38{
39void validate_all_nodes(Graph &g)
40{
41 auto &nodes = g.nodes();
42
43 // Create tasks
44 for (auto &node : nodes)
45 {
46 if (node != nullptr)
47 {
48 Target assigned_target = node->assigned_target();
49 backends::IDeviceBackend &backend = backends::BackendRegistry::get().get_backend(assigned_target);
50 Status status = backend.validate_node(*node);
51 ARM_COMPUTE_ERROR_ON_MSG(!bool(status), status.error_description().c_str());
52 }
53 }
54}
55
56void configure_all_tensors(Graph &g)
57{

Callers 1

finalize_graphMethod · 0.85

Calls 3

assigned_targetMethod · 0.80
error_descriptionMethod · 0.80
validate_nodeMethod · 0.45

Tested by

no test coverage detected