code: def test_with_other_dict_than_sgd(self):
      model = Model(
          self.pytorch_network,
          dict(optim="adam", lr=0.1),
          self.loss_function,
      )
      expected = optim.Adam(self.pytorch_network.parameters(), lr=0.1)
      self.assertOptimizerEquality(model.optimizer, expected)
  
file_path: poutyne/tests/framework/model/test_model_optimizer.py
imports: import unittest
  import torch
  import torch.nn
  import torch.optim
  from poutyne import Model
label_desc: Use image node_id 7 for calling the ModelOptimizerInstanciationTest obj's underlying member method code with example usage: obj.test_with_other_dict_than_sgd() without return types