class_docstr: Images Plugin for TensorBoard.
code: def _filter_by_sample(self, tensor_events, sample):
      return [
          tensor_event
          for tensor_event in tensor_events
          if (
              len(tensor_event.tensor_proto.string_val)
              - 2  # width, height
              > sample
          )
      ]
  
imports: import imghdr
  import urllib.parse
  from werkzeug import wrappers
  from tensorboard import errors
  from tensorboard import plugin_util
  from tensorboard.backend import http_util
  from tensorboard.data import provider
  from tensorboard.plugins import base_plugin
  from tensorboard.plugins.image import metadata
label_desc: Use image node_id 8 for calling the ImagesPlugin obj's underlying member method code with example usage: obj._filter_by_sample(tensor_events, sample) and returns: unknown