code: def main(use_cuda, nn_type):
      model_filename = None
      params_filename = None
      save_dirname = (
          "poisoned_recognize_digits_" + nn_type + ".inference.model"
      )
  
      # call train() with is_local argument to run distributed train
      train(
          nn_type=nn_type,
          use_cuda=use_cuda,
          save_dirname=save_dirname,
          model_filename=model_filename,
          params_filename=params_filename,
      )
      infer(
          use_cuda=use_cuda,
          save_dirname=save_dirname,
          model_filename=model_filename,
          params_filename=params_filename,
      )
  
file_path: AdvBox/DataPoison/poison_mnist_paddle.py
imports: from __future__ import print_function
  from builtins import range
  import os
  import argparse
  from PIL import Image
  import numpy
  import paddle
  import paddle.fluid
label_desc: Use image node_id 8 for calling a global function with example usage: main(use_cuda, nn_type) without return types