tfx.dsl.components.base.executor_spec.ExecutorSpec

A specification for a component executor.

An instance of ExecutorSpec describes the implementation of a component.

Methods

encode

View source

Encodes ExecutorSpec into an IR proto for compiling.

This method will be used by DSL compiler to generate the corresponding IR.

Args
component_spec Optional. The ComponentSpec to help with the encoding.

Returns
An executor spec proto.

from_json_dict

View source

Convert from dictionary data to an object.

to_json_dict

View source

Convert from an object to a JSON serializable dictionary.