def _name_scope(self, name=None, default_name=None, values=None):
    """"""
    with tf.compat.v1.name_scope(self.name):
      with tf.compat.v1.name_scope(
          name, default_name, values=values or []) as scope:
        yield scope