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

Function validate_node

arm_compute/graph/backends/FunctionHelpers.h:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81template <typename TargetInfo>
82void validate_node(const INode &node, size_t num_expected_inputs, size_t num_expected_outputs)
83{
84 ARM_COMPUTE_LOG_GRAPH_VERBOSE("Creating " << node.type() << " Target: " << TargetInfo::TargetType
85 << " ID: " << node.id() << node.name() << std::endl);
86
87 ARM_COMPUTE_ERROR_ON(TargetInfo::TargetType != node.assigned_target());
88 ARM_COMPUTE_ERROR_ON(node.num_inputs() != num_expected_inputs);
89 ARM_COMPUTE_ERROR_ON(node.num_outputs() != num_expected_outputs);
90 ARM_COMPUTE_UNUSED(node, num_expected_inputs, num_expected_outputs);
91}
92
93/** Creates a backend activation layer function
94 *

Callers

nothing calls this directly

Calls 6

assigned_targetMethod · 0.80
num_inputsMethod · 0.80
num_outputsMethod · 0.80
typeMethod · 0.45
idMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected