Class ov::IContextStore#
-
class IContextStore#
Interface to store and get shared context.
Subclassed by ov::runtime::SingleFileStorage
Public Functions
-
virtual void write_context(const ov::weight_sharing::Context&) = 0#
Writes context to the storage.
- Parameters:
context – The context to be stored
-
virtual std::shared_ptr<ov::wsh::Context> get_context() const = 0#
Gets context from the storage.
- Returns:
The stored context
Initializes the context store with the provided weight sharing context.
- Parameters:
weight_sharing_context – The weight sharing context to initialize the store with.
-
virtual void write_context(const ov::weight_sharing::Context&) = 0#