MNN/source/backend/metal/MetalSqueeze.hpp

29 lines
620 B
C++

//
// MetalSqueeze.hpp
// MNN
//
// Created by MNN on 2019/01/30.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef MetalSqueeze_hpp
#define MetalSqueeze_hpp
#import "core/Execution.hpp"
#import "MNN_generated.h"
#import "MetalDefine.h"
#if MNN_METAL_ENABLED
namespace MNN {
class MetalSqueeze : public Execution {
public:
MetalSqueeze(Backend *backend);
virtual ~MetalSqueeze() = default;
virtual ErrorCode onExecute(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
};
} // namespace MNN
#endif /* MNN_METAL_ENABLED */
#endif /* MetalSqueeze_hpp */