class_docstr: Tests for tf2_utils.create_variables method.
code: def test_feedforward(self, recurrent: bool):
      model = snt.Linear(42)
      if recurrent:
          model = snt.DeepRNN([model])
      input_spec = specs.Array(shape=(10,), dtype=np.float32)
      tf2_utils.create_variables(model, [input_spec])
      variables: Sequence[tf.Variable] = model.variables
      shapes = [v.shape.as_list() for v in variables]
      self.assertSequenceEqual(shapes, [[42], [10, 42]])
  
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 1 for calling the CreateVariableTest obj's underlying member method code with example usage: obj.test_feedforward(recurrent) without return types