Path: blob/master/modules/dnn/src/halide_scheduler.hpp
16337 views
// This file is part of OpenCV project.1// It is subject to the license terms in the LICENSE file found in the top-level directory2// of this distribution and at http://opencv.org/license.html.3//4// Copyright (C) 2017, Intel Corporation, all rights reserved.5// Third party copyrights are property of their respective owners.67#ifndef __OPENCV_DNN_HALIDE_SCHEDULER_HPP__8#define __OPENCV_DNN_HALIDE_SCHEDULER_HPP__910#include <opencv2/dnn.hpp>1112namespace cv13{14namespace dnn15{1617class HalideScheduler18{19public:20HalideScheduler(const std::string& configFile);2122~HalideScheduler();2324// Returns true if pipeline found in scheduling file.25// If more than one function, returns true if the top function scheduled.26// Other functions are optional to scheduling.27bool process(Ptr<BackendNode>& node);2829private:30FileStorage fs;31};3233} // namespace dnn34} // namespace cv3536#endif // __OPENCV_DNN_HALIDE_SCHEDULER_HPP__373839