mirror of https://github.com/alibaba/MNN.git
28 lines
573 B
C++
28 lines
573 B
C++
//
|
|
// MetalSize.hpp
|
|
// MNN
|
|
//
|
|
// Created by MNN on 2019/01/30.
|
|
// Copyright © 2018, Alibaba Group Holding Limited
|
|
//
|
|
|
|
#ifndef MetalSize_hpp
|
|
#define MetalSize_hpp
|
|
|
|
#import "core/Execution.hpp"
|
|
#import "MetalDefine.h"
|
|
|
|
#if MNN_METAL_ENABLED
|
|
namespace MNN {
|
|
|
|
class MetalSize : public Execution {
|
|
public:
|
|
MetalSize(Backend *backend);
|
|
virtual ~MetalSize() = default;
|
|
virtual ErrorCode onExecute(const std::vector<Tensor *> &inputs, const std::vector<Tensor *> &outputs) override;
|
|
};
|
|
|
|
} // namespace MNN
|
|
#endif /* MNN_METAL_ENABLED */
|
|
#endif /* MetalSize_hpp */
|