blace.ai
Loading...
Searching...
No Matches
raw_memory_fetcher.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <memory>
4
5
#include "computation_graph/raw_memory_metadata.h"
6
#include "
computation_graph/raw_memory_object.h
"
7
#include <iostream>
8
14
namespace
blace {
19
class
RawMemoryFetcher
{
20
public
:
30
virtual
std::pair<ml_core::ReturnCode, std::shared_ptr<RawMemoryObject>>
31
get_raw_memory_object
() = 0;
38
virtual
std::shared_ptr<RawMemoryMetadata>
get_raw_memory_metadata
() = 0;
44
virtual
std::string
printableString
() = 0;
45
};
46
47
}
// namespace blace
blace::RawMemoryFetcher
Definition
raw_memory_fetcher.h:19
blace::RawMemoryFetcher::get_raw_memory_metadata
virtual std::shared_ptr< RawMemoryMetadata > get_raw_memory_metadata()=0
blace::RawMemoryFetcher::printableString
virtual std::string printableString()=0
blace::RawMemoryFetcher::get_raw_memory_object
virtual std::pair< ml_core::ReturnCode, std::shared_ptr< RawMemoryObject > > get_raw_memory_object()=0
raw_memory_object.h
Contains implementation for a class used to I/O custom memory.
source
computation_graph
raw_memory_fetcher.h
Generated by
1.9.8