Download modules/gapi/src/executor/gexecutor.hpp from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 1.52 kB
-
https://huggingface.co/tgollogly/test/resolve/main/modules/gapi/src/executor/gexecutor.hpp
- Command line
-
hf download hf://tgollogly/test/modules/gapi/src/executor/gexecutor.hpp
-
curl -L -o gexecutor.hpp https://huggingface.co/tgollogly/test/resolve/main/modules/gapi/src/executor/gexecutor.hpp
1.52 kB
| // This file is part of OpenCV project. | |
| // It is subject to the license terms in the LICENSE file found in the top-level directory | |
| // of this distribution and at http://opencv.org/license.html. | |
| // | |
| // Copyright (C) 2018-2020 Intel Corporation | |
| namespace cv { | |
| namespace gimpl { | |
| class GExecutor final: public GAbstractExecutor | |
| { | |
| protected: | |
| Mag m_res; | |
| // FIXME: Naive executor details are here for now | |
| // but then it should be moved to another place | |
| struct OpDesc | |
| { | |
| std::vector<RcDesc> in_objects; | |
| std::vector<RcDesc> out_objects; | |
| std::shared_ptr<GIslandExecutable> isl_exec; | |
| }; | |
| std::vector<OpDesc> m_ops; | |
| struct DataDesc | |
| { | |
| ade::NodeHandle slot_nh; | |
| ade::NodeHandle data_nh; | |
| }; | |
| std::vector<DataDesc> m_slots; | |
| class Input; | |
| class Output; | |
| void initResource(const ade::NodeHandle &nh, const ade::NodeHandle &orig_nh); // FIXME: shouldn't it be RcDesc? | |
| public: | |
| explicit GExecutor(std::unique_ptr<ade::Graph> &&g_model); | |
| void run(cv::gimpl::GRuntimeArgs &&args) override; | |
| bool canReshape() const override; | |
| void reshape(const GMetaArgs& inMetas, const GCompileArgs& args) override; | |
| void prepareForNewStream() override; | |
| }; | |
| } // namespace gimpl | |
| } // namespace cv | |