![]() |
Tries to get the cached output artifacts given a cache context.
tfx.orchestration.portable.cache_utils.get_cached_outputs(
metadata_handler: tfx.orchestration.metadata.Metadata
,
cache_context: metadata_store_pb2.Context
) -> Optional[Dict[Text, List[types.Artifact]]]
Args | |
---|---|
metadata_handler
|
A handler to access MLMD store. |
cache_context
|
The context representing the cache key. |
Returns | |
---|---|
The cached output artifacts in a dict format. None if no qualified cache result is found. |