tfx.v1.dsl.experimental.RuntimeParameter
Runtime parameter.
tfx.v1.dsl.experimental.RuntimeParameter(
name: str,
ptype: Optional[Type] = None,
default: Optional[Union[int, float, str]] = None,
description: Optional[str] = None
)
Currently only supported on KubeflowDagRunner.
For protos, use text type RuntimeParameter, which holds the proto json
string, e.g., '{"num_steps": 5}'
for TrainArgs proto.
Attributes |
name
|
The name of the runtime parameter.
|
default
|
Default value for runtime params when it's not explicitly
specified.
|
ptype
|
The type of the runtime parameter.
|
description
|
Description of the usage of the parameter.
|
Methods
__eq__
__eq__(
other
)
Return self==value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-03 UTC.
[null,null,["Last updated 2024-05-03 UTC."],[],[]]