code: def test_horovod_intent_classification(
      rel_path, input_features, output_features, **kwargs
  ):
      run_api_experiment(
          input_features, output_features, dataset=rel_path, **kwargs
      )
  
      # Horovod should be initialized following training. If not, this will raise an exception.
      assert hvd.size() == 2
      assert ludwig.utils.horovod_utils._HVD.rank() == hvd.rank()
  
file_path: ludwig/tests/integration_tests/scripts/run_train_horovod.py
imports: import argparse
  import json
  import os
  import shutil
  import sys
  import horovod.torch
  import torch
  import ludwig.utils.horovod_utils
  from ludwig.api import LudwigModel
  from ludwig.constants import BATCH_SIZE, TRAINER
label_desc: Use image node_id 2 for calling a global function with example usage: test_horovod_intent_classification(rel_path, input_features, output_features) without return types