View source on GitHub |
Model loader is responsible for loading shared model types.
tfma.types.ModelLoader(
construct_fn: Callable[[], Any], tags: Optional[List[str]] = None
)
Methods
load
load(
model_load_time_callback: Optional[Callable[[int], None]] = None
) -> Any
Returns loaded model.
Args | |
---|---|
model_load_time_callback
|
Optional callback to track load time. |