TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tfx.types.component_spec.ExecutionParameter

View source on GitHub

Class ExecutionParameter

An execution parameter in a ComponentSpec.

This type of parameter should be specified in the PARAMETERS dict of a ComponentSpec:

class MyCustomComponentSpec(ComponentSpec): # ... PARAMETERS = { 'internal_option': ExecutionParameter(type=str), } # ...

__init__

View source

__init__(
    type=None,
    optional=False
)

Initialize self. See help(type(self)) for accurate signature.

Methods

type_check

View source

type_check(
    arg_name,
    value
)