24.02.1
|
Go to the documentation of this file.
24 #ifndef ACL_SRC_CPU_KERNELS_CPUSOFTMAXKERNEL_H
25 #define ACL_SRC_CPU_KERNELS_CPUSOFTMAXKERNEL_H
40 using SoftmaxKernelPtr =
68 const char *
name()
const override;
81 SoftmaxKernelPtr _run_method{
nullptr};
87 #endif // ACL_SRC_CPU_KERNELS_CPUSOFTMAXKERNEL_H
SimpleTensor< float > src
decltype(strategy::transforms) typedef type
std::add_pointer< bool(const SoftmaxKernelDataTypeISASelectorData &data)>::type SoftmaxKernelDataTypeISASelectorDataPtr
const char * name() const override
Name of the kernel.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, float beta, bool is_log, const ITensorInfo *tmp)
Static function to check if given info will lead to a valid configuration.
const SoftmaxKernelDataTypeISASelectorDataPtr is_selected
Interface for CPU tensor.
CpuSoftmaxKernel()=default
void configure(const ITensorInfo *src, ITensorInfo *dst, float beta, bool is_log, ITensorInfo *tmp)
Set the input and output tensors.
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
const Window & window() const
The maximum window the kernel can be executed on.
Interface for softmax computation.
Information about executing thread and CPU.
static const std::vector< SoftmaxKernel > & get_available_kernels()
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuSoftmaxKernel)