| 80 | |
| 81 | template <typename TargetInfo> |
| 82 | void 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 | * |
nothing calls this directly
no test coverage detected