#include <raw_memory_fetcher.h>
Interface class to create on object which will provide a RawMemoryObject upon request.
◆ get_raw_memory_metadata()
| virtual std::shared_ptr< RawMemoryMetadata > blace::RawMemoryFetcher::get_raw_memory_metadata |
( |
| ) |
|
|
pure virtual |
Return the meta data associated with the RawMemoryObject. Will be called during graph construction.
- Returns
◆ get_raw_memory_object()
Returns a pair of error code and shared pointer of a RawMemoryObject. If the returned code is not blace::ml_core::ReturnCode::OK, the pointer can be null. If return code is blace::ml_core::ReturnCode::OK the returned pointer has to hold a valid object. Might be called during graph evaluation, but caching might prevent a call to this at all.
- Returns
◆ printableString()
| virtual std::string blace::RawMemoryFetcher::printableString |
( |
| ) |
|
|
pure virtual |
Return an additional string used in debug logging.
- Returns