class_docstr: Plugin for understanding/debugging model inference.
    
class_docstr_tok: ["Plugin","for","understanding\/debugging","model","inference","."]
code: def generate_sprite(self, example_strings):
      # Generate a sprite image for the examples if the examples contain the
      # standard encoded image feature.
      feature_list = (
          self.examples[0].features.feature
          if self.example_class == tf.train.Example
          else self.examples[0].context.feature
      )
      self.sprite = (
          inference_utils.create_sprite_image(example_strings)
          if (
              len(self.examples)
              and self.image_feature_name in feature_list
          )
          else None
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import io
  import json
  import logging
  import math
  import numpy
  import os
  import werkzeug
  from werkzeug import wrappers
  from six.moves import xrange
  from google.protobuf import json_format
  from grpc.framework.interfaces.face.face import AbortionError
  from werkzeug import wrappers
  import tensorflow
  from tensorboard.backend import http_util
  from tensorboard.plugins import base_plugin
  from utils import common_utils
  from utils import inference_utils
  from utils import platform_utils
label_desc: Use image node_id 8 for calling the WhatIfToolPlugin obj's underlying member method code with example usage: obj.generate_sprite(example_strings) without return types