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

Method validate

src/cpu/kernels/CpuTopKVKernel.cpp:172–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172Status
173CpuTopKVKernel::validate(const ITensorInfo *predictions, const ITensorInfo *targets, const ITensorInfo *dst, uint32_t k)
174{
175 ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU, "CpuTopKVKernel::validate");
176 ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(predictions, targets, dst);
177
178 ARM_COMPUTE_RETURN_ON_ERROR(validate_arguments(*predictions, *targets, *dst, k));
179
180 return Status{};
181}
182
183void CpuTopKVKernel::run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info)
184{

Callers

nothing calls this directly

Calls 1

validate_argumentsFunction · 0.70

Tested by

no test coverage detected