mirror of https://github.com/alibaba/MNN.git
28 lines
633 B
C++
28 lines
633 B
C++
//
|
|
// CPUStft.hpp
|
|
// MNN
|
|
//
|
|
// Created by MNN on 2024/11/26.
|
|
// Copyright © 2018, Alibaba Group Holding Limited
|
|
//
|
|
|
|
#ifndef CPUStft_hpp
|
|
#define CPUStft_hpp
|
|
|
|
#include "core/Execution.hpp"
|
|
|
|
namespace MNN {
|
|
class CPUStft : public Execution {
|
|
public:
|
|
CPUStft(Backend *backend, bool abs);
|
|
virtual ~CPUStft() = default;
|
|
virtual ErrorCode onResize(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
|
|
virtual ErrorCode onExecute(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
|
|
private:
|
|
bool mAbs;
|
|
};
|
|
|
|
} // namespace MNN
|
|
|
|
#endif /* CPUStft.hpp */
|