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

Method run

src/runtime/CL/functions/CLFFTConvolutionLayer.cpp:347–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void CLFFTConvolutionLayer::run()
348{
349 prepare();
350
351 MemoryGroupResourceScope scope_mg(_memory_group);
352
353 // Transform input
354 if (_needs_permute)
355 {
356 _permute_input_func.run();
357 }
358 _pad_input_func.run();
359 _transform_input_func.run();
360
361 // Perform operations to frequency domain
362 _prod_func.run();
363 _reduce_func.run();
364
365 // Transform output
366 _itransform_output_func.run();
367 _reshaped_output.allocator()->import_memory(_itransformed_output.cl_buffer());
368 _extract_output_func.run();
369 // Add bias
370 if (_has_bias)
371 {
372 _bias_add_func.run();
373 }
374 if (_needs_permute)
375 {
376 _permute_output_func.run();
377 }
378
379 // Run activation layer
380 if (_is_activationlayer_enabled)
381 {
382 _activation_layer_func.run();
383 }
384}
385
386void CLFFTConvolutionLayer::prepare()
387{

Callers 1

prepareMethod · 0.45

Calls 2

import_memoryMethod · 0.45
allocatorMethod · 0.45

Tested by

no test coverage detected