code: def remove_outputs(nb):
      """Removes the outputs cells for a jupyter notebook."""
      for cell in nb.cells:
          if cell.cell_type == "code":
              cell.outputs = []
  
file_path: mxnet/tools/ipynb2md.py
imports: from __future__ import print_function
  import sys
  import io
  import os
  import argparse
  import nbformat
label_desc: Use image node_id 1 for calling a global function with example usage: remove_outputs(nb) without return types