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

Method configure

src/cpu/kernels/CpuElementwiseKernel.cpp:337–346  ·  view source on GitHub ↗

Arithmetic operators (min, max, squared_diff) */

Source from the content-addressed store, hash-verified

335
336/** Arithmetic operators (min, max, squared_diff) */
337void CpuArithmeticKernel::configure(ArithmeticOperation op,
338 const ITensorInfo *src0,
339 const ITensorInfo *src1,
340 ITensorInfo *dst)
341{
342 ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU, "CpuArithmeticKernel::configure");
343 ARM_COMPUTE_ERROR_THROW_ON(validate_arguments(*src0, *src1, *dst));
344 _op = op;
345 CpuArithmeticKernel::configure_common(src0, src1, dst);
346}
347
348Status CpuArithmeticKernel::validate_arguments(const ITensorInfo &src0, const ITensorInfo &src1, const ITensorInfo &dst)
349{

Callers

nothing calls this directly

Calls 1

validate_argumentsFunction · 0.70

Tested by

no test coverage detected