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"
8
#include "
computation_graph/raw_memory_object.h
"
9
#include "ml_core/callbacks.h"
// for ProgressCallback
10
#include <filesystem>
11
#include <functional>
12
#include <list>
13
#include <thread>
14
21
namespace
blace {
22
namespace
ipc {
23
24
class
IpcEvaluatorImpl;
25
29
class
EXPORT_OR_IMPORT
IpcEvaluator
{
30
public
:
35
IpcEvaluator
(::blace::ops::OpP computation_graph);
36
41
std::pair<ml_core::ReturnCode, std::shared_ptr<RawMemoryObject>>
42
evaluateToRawMemory
(
43
std::shared_ptr<ml_core::ProgressCallback> progress_callback =
nullptr
);
44
45
private
:
46
::blace::ops::OpP computation_graph;
47
std::shared_ptr<IpcEvaluatorImpl> impl;
48
};
49
50
}
// namespace ipc
51
}
// namespace blace
blace::ipc::IpcEvaluator
Definition
ipc_evaluator.h:29
blace::ipc::IpcEvaluator::evaluateToRawMemory
std::pair< ml_core::ReturnCode, std::shared_ptr< RawMemoryObject > > evaluateToRawMemory(std::shared_ptr< ml_core::ProgressCallback > progress_callback=nullptr)
blace::ipc::IpcEvaluator::IpcEvaluator
IpcEvaluator(::blace::ops::OpP computation_graph)
raw_memory_object.h
Contains implementation for a class used to I/O custom memory.
source
ipc_evaluator
ipc_evaluator.h
Generated by
1.9.8