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.