10 #include <arm_compute/core/Error.h>
11 #include <arm_compute/runtime/IFunction.h>
12 #include <arm_compute/runtime/MemoryManagerOnDemand.h>
13 #include <arm_compute/runtime/Tensor.h>
21 const TensorInfo& output,
22 const TensorInfo& weights,
23 const Optional<TensorInfo>& biases,
24 const FullyConnectedDescriptor& descriptor,
25 const ActivationDescriptor* activationDescriptor =
nullptr);
31 std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager);
33 virtual void Execute()
const override;
36 std::unique_ptr<arm_compute::IFunction> m_FullyConnectedLayer;
37 mutable std::unique_ptr<arm_compute::Tensor> m_WeightsTensor;
38 mutable std::unique_ptr<arm_compute::Tensor> m_BiasesTensor;
41 mutable bool prepared =
false;