blace.ai
Loading...
Searching...
No Matches
ipc_evaluator.h
Go to the documentation of this file.
1#pragma once
2#include <iostream>
3#include <map>
4#include <memory>
5#include <stdexcept>
6
7#include "computation_graph/public_base_op.h"
9#include "ml_core/callbacks.h" // for ProgressCallback
10#include <filesystem>
11#include <functional>
12#include <list>
13#include <thread>
14
21namespace blace {
22namespace ipc {
23
24class IpcEvaluatorImpl;
25
29class EXPORT_OR_IMPORT IpcEvaluator {
30public:
35 IpcEvaluator(::blace::ops::OpP computation_graph);
36
41 std::pair<ml_core::ReturnCode, std::shared_ptr<RawMemoryObject>>
43 std::shared_ptr<ml_core::ProgressCallback> progress_callback = nullptr);
44
45private:
46 ::blace::ops::OpP computation_graph;
47 std::shared_ptr<IpcEvaluatorImpl> impl;
48};
49
50} // namespace ipc
51} // namespace blace
Definition ipc_evaluator.h:29
std::pair< ml_core::ReturnCode, std::shared_ptr< RawMemoryObject > > evaluateToRawMemory(std::shared_ptr< ml_core::ProgressCallback > progress_callback=nullptr)
IpcEvaluator(::blace::ops::OpP computation_graph)
Contains implementation for a class used to I/O custom memory.