// // Created by alibaba on 2019/9/11. // #ifndef MNN_TRTSoftmax_HPP #define MNN_TRTSoftmax_HPP #include "TRTCommonExecution.hpp" #include "TRTBackend.hpp" namespace MNN { class TRTSoftmax : public TRTCommonExecution { public: TRTSoftmax(Backend *b, const Op *op, const std::vector &inputs, const std::vector &outputs); virtual ~TRTSoftmax() = default; virtual std::vector onEncode(const std::vector &inputs) override; private: int mAxis; }; } // namespace MNN #endif // MNN_TRTSoftmax_HPP