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

Function check_nodeidx_pair

src/graph/GraphBuilder.cpp:40–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38namespace
39{
40inline void check_nodeidx_pair(const NodeIdxPair &pair, const Graph &g)
41{
42 ARM_COMPUTE_UNUSED(pair);
43 ARM_COMPUTE_UNUSED(g);
44 ARM_COMPUTE_ERROR_ON((pair.node_id >= g.nodes().size()) || (g.node((pair).node_id) == nullptr) ||
45 (pair.index >= g.node(pair.node_id)->num_outputs()));
46}
47
48Status set_node_params(Graph &g, NodeID nid, NodeParams &params)
49{

Calls 3

nodeMethod · 0.80
num_outputsMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected