const auto conv_info = acl_common::asPadStrideInfo(padding, stride);
const auto act_info = acl_common::asActivationLayerInfo(activation);
- auto fn = nnfw::cpp14::make_unique<::arm_compute::CLConvolutionLayer>();
+ auto fn = nnfw::cpp14::make_unique<::arm_compute::CLConvolutionLayer>(
+ _tensor_builder->acl_memory_manager()->internal_buffer_manager());
fn->configure(ifm_alloc->handle(), ker_alloc->handle(), bias_alloc->handle(), ofm_alloc->handle(),
conv_info, ::arm_compute::WeightsInfo(), ::arm_compute::Size2D(1U, 1U), act_info);
auto bias_alloc = _tensor_builder->at(bias_index).get();
auto acl_layout = output_alloc->handle()->info()->data_layout();
- auto fn = nnfw::cpp14::make_unique<arm_compute::CLFullyConnectedReshapingLayer>();
+ auto fn = nnfw::cpp14::make_unique<arm_compute::CLFullyConnectedReshapingLayer>(
+ _tensor_builder->acl_memory_manager()->internal_buffer_manager());
fn->configure(input_alloc->handle(), weight_alloc->handle(), bias_alloc->handle(),
output_alloc->handle(), needs_reshape,
auto output_alloc = _tensor_builder->at(output_index).get();
auto input_alloc = _tensor_builder->at(input_index).get();
- auto fn = nnfw::cpp14::make_unique<::arm_compute::CLSoftmaxLayer>();
+ auto fn = nnfw::cpp14::make_unique<::arm_compute::CLSoftmaxLayer>(
+ _tensor_builder->acl_memory_manager()->internal_buffer_manager());
fn->configure(input_alloc->handle(), output_alloc->handle(), beta);
std::unique_ptr<::arm_compute::IFunction> fn;
- auto l = nnfw::cpp14::make_unique<::arm_compute::CLTransposeConvLayer>();
+ auto l = nnfw::cpp14::make_unique<::arm_compute::CLTransposeConvLayer>(
+ _tensor_builder->acl_memory_manager()->internal_buffer_manager());
l->configure(ifm_alloc->handle(), ker_alloc->handle(), nullptr, ofm_alloc->handle(), tconv_info,
invalid_vertical, invalid_horizontal);
const auto conv_info = acl_common::asPadStrideInfo(padding, stride);
const auto act_info = acl_common::asActivationLayerInfo(activation);
- auto fn = nnfw::cpp14::make_unique<::arm_compute::NEConvolutionLayer>();
+ auto fn = nnfw::cpp14::make_unique<::arm_compute::NEConvolutionLayer>(
+ _tensor_builder->acl_memory_manager()->internal_buffer_manager());
fn->configure(ifm_alloc->handle(), ker_alloc->handle(), bias_alloc->handle(), ofm_alloc->handle(),
conv_info, ::arm_compute::WeightsInfo(), ::arm_compute::Size2D(1U, 1U), act_info);
auto bias_alloc = _tensor_builder->at(bias_index).get();
auto acl_layout = output_alloc->handle()->info()->data_layout();
- auto fn = nnfw::cpp14::make_unique<arm_compute::NEFullyConnectedReshapingLayer>();
+ auto fn = nnfw::cpp14::make_unique<arm_compute::NEFullyConnectedReshapingLayer>(
+ _tensor_builder->acl_memory_manager()->internal_buffer_manager());
fn->configure(input_alloc->handle(), weight_alloc->handle(), bias_alloc->handle(),
output_alloc->handle(), needs_reshape,
auto output_alloc = _tensor_builder->at(output_index).get();
auto input_alloc = _tensor_builder->at(input_index).get();
- auto fn = nnfw::cpp14::make_unique<::arm_compute::NESoftmaxLayer>();
+ auto fn = nnfw::cpp14::make_unique<::arm_compute::NESoftmaxLayer>(
+ _tensor_builder->acl_memory_manager()->internal_buffer_manager());
fn->configure(input_alloc->handle(), output_alloc->handle(), beta);