code: def test_beholder(self):
      tensor_and_name = namedtuple("tensor_and_name", "tensor, name")
      fake_param = [
          tensor_and_name(np.random.randn(128, 768, 3), "test" + str(i))
          for i in range(5)
      ]
      arrays = [
          tensor_and_name(np.random.randn(128, 768, 3), "test" + str(i))
          for i in range(5)
      ]
      beholder = beholder_lib.Beholder(logdir=self.LOG_DIRECTORY)
      beholder.update(
          trainable=fake_param,
          arrays=arrays,
          frame=np.random.randn(128, 128),
      )
  
file_path: tensorboardX/tests/test_beholder.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import unittest
  import tensorboardX.beholder
  import tensorboardX.beholder.file_system_tools
  import tempfile
  from collections import namedtuple
  import shutil
label_desc: Use image node_id 3 for calling the BeholderTest obj's underlying member method code with example usage: obj.test_beholder() without return types