code: def test_can_be_saved_within_functional_model(self, build):
      inputs = tf.keras.Input(shape=(None, 2))
      outputs = signal_conv.SignalConv1D(
          1, 3, use_bias=True, activation=tf.nn.relu
      )(inputs)
      model = tf.keras.Model(inputs=inputs, outputs=outputs)
      layer = model.get_layer("signal_conv1d")
  
      with self.subTest(name="layer_created_as_expected"):
          self.assertIsInstance(layer, signal_conv.SignalConv1D)
          self.assertIsInstance(
              layer.kernel_parameter, parameters.RDFTParameter
          )
          self.assertIsInstance(layer.bias_parameter, tf.Variable)
  
      if build:
          x = tf.random.uniform((1, 5, 2), dtype=tf.float32)
          y = model(x)
          weight_names = [w.name for w in model.weights]
  
      tempdir = self.create_tempdir()
      model_path = os.path.join(tempdir, "model")
      # This should force the model to be reconstructed via configs.
      model.save(model_path, save_traces=False)
  
      model = tf.keras.models.load_model(model_path)
  
      layer = model.get_layer("signal_conv1d")
      with self.subTest(name="layer_recreated_as_expected"):
          self.assertIsInstance(layer, signal_conv.SignalConv1D)
          self.assertIsInstance(
              layer.kernel_parameter, parameters.RDFTParameter
          )
          self.assertIsInstance(layer.bias_parameter, tf.Variable)
  
      if build:
          with self.subTest(name="model_outputs_identical"):
              self.assertAllEqual(model(x), y)
  
          with self.subTest(name="model_weights_identical"):
              self.assertSameElements(
                  weight_names, [w.name for w in model.weights]
              )
  
imports: import os
  from absl.testing import parameterized
  import numpy
  import scipy.signal
  import tensorflow
  from tensorflow_compression.python.layers import initializers
  from tensorflow_compression.python.layers import parameters
  from tensorflow_compression.python.layers import signal_conv
label_desc: Use image node_id 8 for calling the SignalConvTest obj's underlying member method code with example usage: obj.test_can_be_saved_within_functional_model(build) without return types