View source on GitHub |
Returns function for constructing shared models.
tfma.utils.model_construct_fn(
eval_saved_model_path: Optional[str] = None,
add_metrics_callbacks: Optional[List[types.AddMetricsCallbackType]] = None,
include_default_metrics: Optional[bool] = None,
additional_fetches: Optional[List[str]] = None,
blacklist_feature_fetches: Optional[List[str]] = None,
tags: Optional[List[str]] = None,
model_type: Optional[str] = constants.TFMA_EVAL
) -> Callable[[], Any]