code: def test_seq2seq_freeze_training(self):
      train_data, test_data = create_data()
      model = model_creator(
          config={
              "input_feature_num": 10,
              "output_feature_num": 2,
              "future_seq_len": test_data[-1].shape[1],
              "lstm_hidden_dim": 32,
          }
      )
      freeze_yhat = model(test_data[0], training=False)
      _freeze_yhat = model(test_data[0], training=False)
      assert np.all(_freeze_yhat == freeze_yhat)
  
      _unfreeze_yhat = model(test_data[0], training=True)
      unfreeze_yhat = model(test_data[0], training=True)
      assert np.any(_unfreeze_yhat != unfreeze_yhat)
  
file_path: BigDL/python/chronos/test/bigdl/chronos/model/tf2/test_Seq2Seq_keras.py
imports: import tempfile
  import pytest
  from unittest import TestCase
  import numpy
  from ...None import op_tf2
  from bigdl.chronos.utils import LazyImport
label_desc: Use image node_id 5 for calling the TestSeq2Seq obj's underlying member method code with example usage: obj.test_seq2seq_freeze_training() without return types