24 #ifndef ARM_COMPUTE_NESOFTMAXLAYER_H 25 #define ARM_COMPUTE_NESOFTMAXLAYER_H 39 template <
bool IS_LOG = false>
94 std::unique_ptr<Impl> _impl;
Base class for all functions.
~NESoftmaxLayerGeneric()
Default destructor.
Store the tensor's metadata.
Interface for CPU tensor.
Copyright (c) 2017-2021 Arm Limited.
Basic function to compute a SoftmaxLayer and a Log SoftmaxLayer.
void run() override
Run the kernels contained in the function.
void configure(ITensor *input, ITensor *output, float beta=1.0f, int32_t axis=0)
Set the input and output tensors.
NESoftmaxLayerGeneric & operator=(const NESoftmaxLayerGeneric &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
static Status validate(const ITensorInfo *input, const ITensorInfo *output, float beta=1.0f, int32_t axis=0)
Static function to check if given info will lead to a valid configuration of NESoftmaxLayer.
NESoftmaxLayerGeneric(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Constructor.