#include <arm_compute/runtime/CL/functions/CLFloor.h>
#include <arm_compute/runtime/SubTensor.h>
+#include <arm_compute/runtime/NEON/functions/NESoftmaxLayer.h>
#include <arm_compute/runtime/NEON/functions/NEArithmeticAddition.h>
#include <arm_compute/runtime/NEON/functions/NEArithmeticSubtraction.h>
#include <arm_compute/runtime/NEON/functions/NEPixelWiseMultiplication.h>
builder.append("Softmax", std::move(fn));
}
else
- throw std::runtime_error("Not supported, yet");
+ {
+ auto fn = nnfw::make_unique<::arm_compute::NESoftmaxLayer>();
+
+ fn->configure(input_alloc, output_alloc, param.scale);
+
+ builder.append("Softmax", std::move(fn));
+ }
};
_builder.addStage(stage);