Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings


View source on GitHub

Yields a new unique name that does not exist in comp.

    comp, prefix='_var'


  • comp: The compuation building block to use as a reference.
  • prefix: The prefix to use when generating unique names. If prefix is None or if comp contains any name with this prefix, then a unique prefix will be generated from random lowercase ascii characters.