code: def test_forward__error_global_view_features_and_grids_not_same_length(
      self,
  ) -> None:
      criterion = VICRegLLoss()
      global_view_features = [
          (torch.randn((2, 32)), torch.randn((2, 7, 7, 8)))
          for _ in range(2)
      ]
      global_view_grids = [torch.randn((2, 7, 7, 2)) for _ in range(1)]
      error_msg = (
          "global_view_features and global_view_grids must have same length but "
          "found 2 and 1."
      )
      with self.assertRaisesRegex(ValueError, error_msg):
          criterion.forward(
              global_view_features=global_view_features,
              global_view_grids=global_view_grids,
          )
  
file_path: lightly/tests/loss/test_VICRegLLoss.py
imports: import unittest
  from typing import List
  import numpy
  import torch
  import torch.nn.functional
  from torch import Tensor
  from lightly.loss import VICRegLLoss
label_desc: Use image node_id 3 for calling the TestVICRegLLoss obj's underlying member method code with example usage: obj.test_forward__error_global_view_features_and_grids_not_same_length() without return types