code: def assert_eval(self, expectations, last_eval, task_id):
      for metric, value in expectations[:task_id]:
          self.assertAlmostEqual(last_eval[metric], value, places=2)
  
file_path: avalanche/tests/models/test_packnet.py
imports: import unittest
  from avalanche.models.packnet import PackNetModel, packnet_simple_mlp
  from avalanche.training.supervised.strategy_wrappers import PackNet
  from torch.optim import SGD, Adam
  import torch
  import os
  from tests.unit_tests_utils import get_fast_benchmark
  from functools import partial
label_desc: Use image node_id 5 for calling the TestPackNet obj's underlying member method code with example usage: obj.assert_eval(expectations, last_eval, task_id) without return types