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

Method configure

src/gpu/cl/operators/ClTransposedConvolution.cpp:36–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace opencl
35{
36void ClTransposedConvolution::configure(const CLCompileContext &compile_context,
37 const ITensorInfo *input,
38 const ITensorInfo *weights,
39 const ITensorInfo *biases,
40 ITensorInfo *output,
41 const PadStrideInfo &deconv_info)
42{
43 ARM_COMPUTE_ERROR_ON_NULLPTR(input);
44 ARM_COMPUTE_LOG_PARAMS(input, weights, biases, output, deconv_info);
45 auto kernel_object = std::make_unique<kernels::ClTransposedConvolutionKernel>();
46 kernel_object->set_target(CLScheduler::get().target());
47 kernel_object->configure(compile_context, input, weights, biases, output, deconv_info);
48 _transposed_conv_kernel = std::move(kernel_object);
49}
50
51Status ClTransposedConvolution::validate(const ITensorInfo *input,
52 const ITensorInfo *weights,

Callers

nothing calls this directly

Calls 2

set_targetMethod · 0.45
targetMethod · 0.45

Tested by

no test coverage detected