![]() |
Returns a unique key given a list of current keys.
tfma.unique_key(
key: Text,
current_keys: List[Text],
update_keys: Optional[bool] = False
) -> Text
If the key exists in current_keys then a new key with _1, _2, ..., etc appended will be returned, otherwise the key will be returned as passed.
Args | |
---|---|
key
|
desired key name. |
current_keys
|
List of current key names. |
update_keys
|
True to append the new key to current_keys. |