code: def test_fit_multiple_times(self):
      auto_est = AutoEstimator.from_torch(
          model_creator=model_creator,
          optimizer="SGD",
          loss="BCELoss",
          logs_dir="/tmp/zoo_automl_logs",
          resources_per_trial={"cpu": 2},
          name="test_fit",
      )
  
      data, validation_data = get_train_val_data()
      auto_est.fit(
          data=data,
          validation_data=validation_data,
          search_space=create_linear_search_space(),
          n_sampling=2,
          epochs=1,
          metric="accuracy",
      )
      with pytest.raises(RuntimeError):
          auto_est.fit(
              data=data,
              validation_data=validation_data,
              search_space=create_linear_search_space(),
              n_sampling=2,
              epochs=1,
              metric="accuracy",
          )
  
imports: import os
  from unittest import TestCase
  import numpy
  import pytest
  import torch
  import torch.nn
  from torch.utils.data import Dataset, DataLoader
  from bigdl.orca.automl.auto_estimator import AutoEstimator
  from bigdl.orca.automl.pytorch_utils import LR_NAME
  from bigdl.orca.automl import hp
label_desc: Use image node_id 9 for calling the TestPyTorchAutoEstimator obj's underlying member method code with example usage: obj.test_fit_multiple_times() without return types