code: def test_training_with_validation_data_distributed_multi_heads(self):
      keras_model = self.create_multi_input_output_model()
      model = KerasModel(keras_model)
  
      x, y = self.create_training_data()
  
      val_x, val_y = self.create_training_data()
      model.fit(
          [x, x],
          [y, y],
          validation_data=([val_x, val_x], [val_y, val_y]),
          batch_size=4,
          distributed=True,
      )
  
file_path: BigDL/python/orca/test/bigdl/orca/tfpark/test_keras_model.py
imports: import pytest
  from bigdl.dllib.feature.image import *
  from bigdl.orca.test_zoo_utils import ZooTestCase
  import tensorflow
  import numpy
  import os
  from bigdl.orca.tfpark import KerasModel
label_desc: Use image node_id 4 for calling the TestTFParkModel obj's underlying member method code with example usage: obj.test_training_with_validation_data_distributed_multi_heads() without return types