class_docstr: WhatIfToolPlugin factory.
  This class checks for `tensorflow` install and dependency.
code: def define_flags(self, parser):
      group = parser.add_argument_group("what-if-tool")
      try:
          group.add_argument(
              "--whatif-use-unsafe-custom-prediction",
              dest="custom_predict_fn",
              metavar="YOUR_CUSTOM_PREDICT_FUNCTION.py",
              type=str,
              default="",
              help="The file location of your custom prediction function. Note \
                that the flag executes arbitrary code, so make sure you passed the \
                correct file location. See how to define the function in \
                https://github.com/PAIR-code/what-if-tool/blob/master/README.md",
          )
          group.add_argument(
              "--whatif-data-dir",
              dest="wit_data_dir",
              metavar="PATH",
              type=str,
              default="",
              help="An optional additional directory under which the What-If "
              "Tool can load example data from, outside of the TensorBoard "
              "logdir.",
          )
      except argparse.ArgumentError:
          # Argument already defined elsewhere. Nothing to do.
          pass
  
file_path: what-if-tool/tensorboard_plugin_wit/wit_plugin_loader.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import pkg_resources
  import tensorboard
  from tensorboard.plugins import base_plugin
label_desc: Use image node_id 2 for calling the WhatIfToolPluginLoader obj's underlying member method code with example usage: obj.define_flags(parser) without return types