code: def test_current_scope(self, scope):
      with context.graph_mode():
          scoped_summary = _ScopedSummaryV2(
              self.test_subdirectory, scope=scope
          )
          i = tf.constant(3)
          with tf.compat.v1.variable_scope("outer1"):
              with tf.compat.v1.variable_scope("outer2"):
                  with scoped_summary.current_scope():
                      with tf.compat.v1.variable_scope("inner1"):
                          scoped_summary.scalar("inner2/a/b/c", i)
          self.write_summaries(scoped_summary)
      events = self.read_single_event_from_eventfile(scoped_summary)
      values = events[0].summary.value
      self.assertLen(values, 1)
      self.assertEqual(values[0].tag, "inner1/inner2/a/b/c")
      self.assertEqual(simple_value(values[0]), 3.0)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import struct
  from absl.testing import parameterized
  from adanet import tf_compat
  from adanet.core import testing_utils
  from adanet.core.summary import _ScopedSummaryV2
  import tensorflow.compat.v2
  from tensorflow.python.eager import context
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 10 for calling the ScopedSummaryV2Test obj's underlying member method code with example usage: obj.test_current_scope(scope) without return types