class_docstr: Tests for tf2_utils.create_variables method.
code: def test_output_spec_feedforward(self, recurrent: bool):
      input_spec = specs.Array(shape=(10,), dtype=np.float32)
      model = snt.Linear(42)
      expected_spec = tf.TensorSpec(shape=(42,), dtype=tf.float32)
      if recurrent:
          model = snt.DeepRNN([model])
          expected_spec = (expected_spec, ())
  
      output_spec = tf2_utils.create_variables(model, [input_spec])
      self.assertEqual(output_spec, expected_spec)
  
imports: from typing import Sequence, Tuple
  from acme import specs
  from acme.tf import utils
  import numpy
  import sonnet
  import tensorflow
  from absl.testing import absltest
  from absl.testing import parameterized
label_desc: Use image node_id 2 for calling the CreateVariableTest obj's underlying member method code with example usage: obj.test_output_spec_feedforward(recurrent) without return types