code: def test_image_summary_with_family(self, scope):
      scoped_summary = _ScopedSummary(scope)
      with self.test_session() as s:
          i = tf.ones((5, 2, 3, 1))
          with tf.name_scope("outer"):
              im = scoped_summary.image(
                  "inner", i, max_outputs=3, family="family"
              )
          summary_str = s.run(im)
      summary = tf.Summary()
      summary.ParseFromString(summary_str)
      values = summary.value
      self.assertLen(values, 3)
      tags = sorted(v.tag for v in values)
      expected = sorted(
          "family/outer/family/inner/image/{}".format(i)
          for i in range(3)
      )
      self.assertEqual(tags, expected)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  from absl.testing import parameterized
  from adanet import tf_compat
  from adanet.core import testing_utils
  from adanet.core.summary import _ScopedSummary
  from adanet.core.summary import _TPUScopedSummary
  from adanet.core.summary import monkey_patched_summaries
  from six.moves import range
  import tensorflow.compat.v1
  from tensorflow.python.ops import summary_ops_v2
label_desc: Use image node_id 6 for calling the ScopedSummaryTest obj's underlying member method code with example usage: obj.test_image_summary_with_family(scope) without return types