code: def test_forward_backward(self):
      model = AnomalyDetector(
          feature_shape=(10, 3),
          hidden_layers=[8, 32, 15],
          dropouts=[0.2, 0.2, 0.2],
      )
      model.summary()
      input_data = np.random.rand(100, 10, 3)
      self.assert_forward_backward(model, input_data)
      model.set_evaluate_status()
      # Forward twice will get the same output
      output1 = model.forward(input_data)
      output2 = model.forward(input_data)
      assert np.allclose(output1, output2)
  
file_path: analytics-zoo/pyzoo/test/zoo/models/anomalydetection/test_anomalydetector.py
imports: import pytest
  import numpy
  from zoo.models.anomalydetection import AnomalyDetector
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
label_desc: Use image node_id 1 for calling the TestAnomalyDetector obj's underlying member method code with example usage: obj.test_forward_backward() without return types