mirror of https://github.com/alibaba/MNN.git
22 lines
460 B
C++
22 lines
460 B
C++
|
//
|
||
|
// ConvertUtils.hpp
|
||
|
// MNN
|
||
|
//
|
||
|
// Created by MNN on 2020/04/03.
|
||
|
// Copyright © 2018, Alibaba Group Holding Limited
|
||
|
//
|
||
|
|
||
|
#ifndef ConvertUtils_hpp
|
||
|
#define ConvertUtils_hpp
|
||
|
#include "geometry/GeometryComputer.hpp"
|
||
|
#include "core/TensorUtils.hpp"
|
||
|
namespace MNN {
|
||
|
class ConvertUtils {
|
||
|
public:
|
||
|
static bool compute(Tensor* input, Tensor* output, CommandBuffer& res);
|
||
|
static void broadcastto(Tensor* input, Tensor* output);
|
||
|
};
|
||
|
} // namespace MNN
|
||
|
|
||
|
#endif
|