mirror of https://github.com/alibaba/MNN.git
29 lines
602 B
C++
29 lines
602 B
C++
//
|
|
// CPUTranspose.hpp
|
|
// MNN
|
|
//
|
|
// Created by MNN on 2018/08/23.
|
|
// Copyright © 2018, Alibaba Group Holding Limited
|
|
//
|
|
|
|
#ifndef CPUTranspose_hpp
|
|
#define CPUTranspose_hpp
|
|
|
|
#include "core/Execution.hpp"
|
|
#include "Type_generated.h"
|
|
|
|
namespace MNN {
|
|
|
|
class CPUTranspose : public Execution {
|
|
public:
|
|
CPUTranspose(Backend *backend, DataType dataType);
|
|
virtual ~CPUTranspose() = default;
|
|
virtual ErrorCode onExecute(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
|
|
|
|
private:
|
|
DataType permDateType;
|
|
};
|
|
|
|
} // namespace MNN
|
|
#endif /* CPUTranspose_hpp */
|