code: def fetch():
      # force=True needed, see comment for "/attribute" route above
      visualizer._update_config(request.get_json(force=True))
      visualizer_output = visualizer.visualize()
      clean_output = namedtuple_to_dict(visualizer_output)
      return jsonify(clean_output)
  
file_path: captum/captum/insights/attr_vis/server.py
imports: import logging
  import os
  import socket
  import threading
  from time import sleep
  from typing import Optional
  from captum.log import log_usage
  from flask import Flask, jsonify, render_template, request
  from flask_compress import Compress
  from torch import Tensor
label_desc: Use image node_id 3 for calling a global function with example usage: fetch() and returns: jsonify