code: def add_upload_command(subparsers):
      # Uploader
      from nnabla.utils.cli.uploader import upload_command
  
      subparser = subparsers.add_parser(
          "upload", help="Upload dataset to Neural Network Console."
      )
      subparser.add_argument(
          "-e", "--endpoint", help="set endpoint uri", type=str
      )
      subparser.add_argument("token", help="token for upload")
      subparser.add_argument("filename", help="filename to upload")
      subparser.set_defaults(func=upload_command)
  
imports: import boto3
  import csv
  import json
  import os
  import urllib.parse
  import urllib.request
  import shutil
  import tarfile
  import tempfile
  import threading
  import tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: add_upload_command(subparsers) without return types