code: def test_normalize_weights(self):
      tr = SomeOf((A(), B(), C()), num_transforms=1, weights=(1, 2, 1))
      self.assertTupleEqual(tr.weights, (0.25, 0.5, 0.25))
  
      tr = SomeOf((), num_transforms=1, weights=(1, 2, 1))
      self.assertIsNone(tr.weights)
  
imports: from __future__ import annotations
  import unittest
  from copy import deepcopy
  import numpy
  import torch
  from parameterized import parameterized
  import monai.transforms.intensity.array
  import monai.transforms.spatial.array
  import monai.transforms.spatial.dictionary
  from monai.data import MetaTensor
  from monai.transforms import TraceableTransform, Transform
  from monai.transforms.compose import Compose, SomeOf
  from monai.utils import set_determinism
  from monai.utils.enums import TraceKeys
  from tests.test_one_of import NonInv
  from tests.test_random_order import InvC, InvD
label_desc: Use image node_id 10 for calling the TestSomeOf obj's underlying member method code with example usage: obj.test_normalize_weights() without return types