code: def _show_attention(att_json):
      display.display(display.HTML(vis_html))
      display.display(
          display.Javascript("window.attention = %s" % att_json)
      )
      display.display(display.Javascript(vis_js))
  
file_path: tensor2tensor/tensor2tensor/visualization/attention.py
imports: import json
  import os
  import IPython.display
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _show_attention(att_json) without return types