tensorflow_probability/python/mcmc/internal/util.py
def make_name(super_name, default_super_name, sub_name):
  """Helper which makes a `str` name; useful for tf.compat.v1.name_scope."""
  name = super_name if super_name is not None else default_super_name
  if sub_name is not None:
    name += '_' + sub_name
  return name
def make_name(super_name, default_super_name, sub_name):
  """Helper which makes a `str` name; useful for tf.compat.v1.name_scope."""
  name = super_name if super_name is not None else default_super_name
  if sub_name is not None:
    name += '_' + sub_name
  return name
def make_name ( super_name , default_super_name , sub_name ) : name = super_name if super_name is not None else default_super_name if sub_name is not None : name += '_' + sub_name return name
Helper which makes a `str` name; useful for tf.compat.v1.name_scope.
Helper which makes a str name ; useful for tf . compat . v1 . name_scope .