![]() |
Creates mapping between user-defined keys and SavedModel assets.
tft.annotate_asset(
asset_key: str, asset_filename: str
)
This mapping is made available in BeamDatasetMetadata
and is also used to
resolve vocabularies in tft.TFTransformOutput
.
Args | |
---|---|
asset_key
|
The key to associate with the asset. |
asset_filename
|
The filename as it appears within the assets/ subdirectory. Must be sanitized and complete (e.g. include the tfrecord.gz for suffix appropriate files). |