code: def test_can_set_not_trainable_then_trainable_iterable() -> None:
      modules = [_module(), _module(), _module()]
      set_trainable(modules, False)
      set_trainable(modules, True)
      assert all(
          len(m.trainable_variables) == len(m.variables)
          for m in modules
      )
  
imports: import tensorflow
  from gpflow import Parameter, set_trainable
label_desc: Use image node_id 5 for calling a global function with example usage: test_can_set_not_trainable_then_trainable_iterable() without return types