![]() |
Creates a container-based component from a Kubeflow component spec.
tfx.extensions.experimental.kfp_compatibility.kfp_container_component.load_kfp_yaml_container_component(
path: Text
) -> Callable[..., tfx.dsl.components.base.base_component.BaseComponent
]
See https://www.kubeflow.org/docs/pipelines/reference/component-spec/
Example:
component = load_kfp_yaml_container_component( "kfp_pipelines_root/components/datasets/Chicago_Taxi_Trips/component.yaml" )
Args | |
---|---|
path
|
local file path of a Kubeflow Pipelines component YAML file. |
Returns | |
---|---|
Container component that can be instantiated in a TFX pipeline. |