message: Fix bug in masked_autoregressive_default_template where custom name was not creating custom variable scopes.
diff: @@ -514,9 +514,8 @@ def masked_autoregressive_default_template(
  Masked Autoencoder for Distribution Estimation. In _International
  Conference on Machine Learning_, 2015. https://arxiv.org/abs/1502.03509
  """
  -
  - with ops.name_scope(name, "masked_autoregressive_default_template",
  - values=[log_scale_min_clip, log_scale_max_clip]):
  + name = name or "masked_autoregressive_default_template"
  + with ops.name_scope(name, values=[log_scale_min_clip, log_scale_max_clip]):
  def _fn(x):
  """MADE parameterized via `masked_autoregressive_default_template`."""
  # TODO(b/67594795): Better support of dynamic shape.
  @@ -552,8 +551,7 @@ def masked_autoregressive_default_template(
  else _clip_by_value_preserve_grad)
  log_scale = which_clip(log_scale, log_scale_min_clip, log_scale_max_clip)
  return shift, log_scale
  - return template_ops.make_template(
  - "masked_autoregressive_default_template", _fn)
  + return template_ops.make_template(name, _fn)
  @deprecation.deprecated(
  