code: def test_storage_invalid_input_type(self):
      network = [
          layers.Input(10),
          layers.Relu(5),
          layers.Relu(2),
      ]
      message = (
          "Invalid input type. Input should be "
          "network or optimizer with network"
      )
      with self.assertRaisesRegexp(TypeError, message):
          storage.save_dict(network)
  
imports: import copy
  import numpy
  from neupy.utils import asfloat
  from neupy import layers, storage
  from neupy.storage import validate_data_structure, InvalidFormat, ParameterLoaderError, load_layer_parameter
  from base import BaseTestCase
label_desc: Use image node_id 1 for calling the DictStorageTestCase obj's underlying member method code with example usage: obj.test_storage_invalid_input_type() without return types