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

Method configure

src/runtime/NEON/functions/NELogical.cpp:49–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47NELogicalAnd::~NELogicalAnd() = default;
48
49void NELogicalAnd::configure(const ITensor *input1, const ITensor *input2, ITensor *output)
50{
51 ARM_COMPUTE_TRACE_EVENT(ARM_COMPUTE_PROF_CAT_CPU, ARM_COMPUTE_PROF_LVL_CPU, "NELogicalAnd::configure");
52 ARM_COMPUTE_ERROR_ON_NULLPTR(input1, input2, output);
53 ARM_COMPUTE_LOG_PARAMS(input1, input2, output);
54
55 _impl->kernel = std::make_unique<kernels::NELogicalKernel>();
56 _impl->kernel->configure(input1->info(), input2->info(), output->info(), LogicalOperation::And);
57
58 _impl->pack = ITensorPack();
59 _impl->pack.add_tensor(TensorType::ACL_SRC_0, input1);
60 _impl->pack.add_tensor(TensorType::ACL_SRC_1, input2);
61 _impl->pack.add_tensor(TensorType::ACL_DST, output);
62}
63
64Status NELogicalAnd::validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output)
65{

Callers

nothing calls this directly

Calls 3

ITensorPackClass · 0.50
infoMethod · 0.45
add_tensorMethod · 0.45

Tested by

no test coverage detected