code: def export_neuropod(
      model: LudwigModel,
      neuropod_path: str,
      neuropod_model_name="ludwig_model",
  ):
      try:
          from neuropod.backends.torchscript.packager import (
              create_torchscript_neuropod,
          )
      except ImportError:
          raise RuntimeError(
              'The "neuropod" package is not installed in your environment.'
          )
  
      model_ts = generate_neuropod_torchscript(model)
      create_torchscript_neuropod(
          neuropod_path=neuropod_path,
          model_name=neuropod_model_name,
          module=model_ts,
          input_spec=_get_input_spec(model),
          output_spec=_get_output_spec(model),
      )
  
file_path: ludwig/ludwig/utils/neuropod_utils.py
imports: import importlib.util
  import logging
  import os
  import tempfile
  from typing import Any, Dict, List
  import torch
  from ludwig.api import LudwigModel
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.constants import NAME
  from ludwig.types import ModelConfigDict
  from ludwig.utils.fs_utils import open_file
label_desc: Use image node_id 7 for calling a global function with example usage: export_neuropod(model, neuropod_path, neuropod_model_name) without return types