code: def test_with_optimizer_object(self):
      optimizer = optim.SGD(self.pytorch_network.parameters(), lr=0.1)
      model = Model(self.pytorch_network, optimizer, self.loss_function)
      self.assertOptimizerEquality(model.optimizer, optimizer)
  
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 3 for calling the ModelOptimizerInstanciationTest obj's underlying member method code with example usage: obj.test_with_optimizer_object() without return types