11 #include <arm_compute/runtime/CL/functions/CLSpaceToBatchLayer.h>
12 #include <arm_compute/runtime/CL/functions/CLReshapeLayer.h>
18 const TensorInfo& output,
19 const SpaceToBatchNdDescriptor& descriptor);
26 const arm_compute::CLCompileContext& clCompileContext);
27 virtual void Execute()
const override;
30 mutable arm_compute::CLSpaceToBatchLayer m_Layer;
31 mutable std::unique_ptr<arm_compute::CLReshapeLayer> m_LayerReshapeInput;
32 mutable std::unique_ptr<arm_compute::CLReshapeLayer> m_LayerReshapeOutput;
33 arm_compute::CLTensor m_ReshapeInputTensor;
34 arm_compute::CLTensor m_ReshapeOutputTensor;
ClSpaceToBatchNdWorkload(const SpaceToBatchNdQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
virtual void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status ClSpaceToBatchNdWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const SpaceToBatchNdDescriptor &descriptor)
Contains information about TensorInfos of a layer.