Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tff.framework.uniquify_reference_names

View source

Replaces all the bound reference names in comp with unique names.

tff.framework.uniquify_reference_names(comp)

Notice that uniquify_reference_names simply leaves alone any reference which is unbound under comp.

Args:

  • comp: The computation building block in which to perform the replacements.

Returns:

Returns a transformed version of comp inside of which all variable names are guaranteed to be unique.