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

Method validate

src/cpu/kernels/CpuAddKernel.cpp:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201Status
202CpuAddKernel::validate(const ITensorInfo *src0, const ITensorInfo *src1, const ITensorInfo *dst, ConvertPolicy policy)
203{
204 ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU, "CpuAddKernel::validate");
205 ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(src0, src1, dst);
206
207 ARM_COMPUTE_RETURN_ON_ERROR(validate_arguments(*src0, *src1, *dst, policy));
208
209 return Status{};
210}
211
212void CpuAddKernel::run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info)
213{

Callers

nothing calls this directly

Calls 1

validate_argumentsFunction · 0.70

Tested by

no test coverage detected