// Copyright (c) OpenMMLab. All rights reserved. #ifndef MMDEPLOY_CSRC_EXPERIMENTAL_EXECUTION_INFERENCE_H_ #define MMDEPLOY_CSRC_EXPERIMENTAL_EXECUTION_INFERENCE_H_ #include "pipeline.h" namespace mmdeploy::graph { class Inference : public Node { friend class InferenceParser; public: Sender Process(Sender input) override { return pipeline_->Process(std::move(input)); } unique_ptr pipeline_; }; class InferenceParser { public: static Result> Parse(const Value& config); }; } // namespace mmdeploy::graph #endif // MMDEPLOY_CSRC_EXPERIMENTAL_EXECUTION_INFERENCE_H_