class_docstr: Mixin for verification of unit length.
class_docstr_tok: ["Mixin","for","verification","of","unit","length","."]
code: def _verify_initialization(
      self, x: torch.FloatTensor
  ) -> None:  # noqa: D102
      xn = x.norm(dim=-1)
      assert torch.allclose(xn, torch.ones_like(xn))
  
imports: from typing import ClassVar
  import torch
  from class_resolver import HintOrType
  import pykeen.nn.init
  from pykeen.datasets import Nations
  from pykeen.nn.modules import ComplExInteraction, Interaction, QuatEInteraction
  from tests import cases
  from ..utils import needs_packages
label_desc: Use image node_id 1 for calling the NormalizationMixin obj's underlying member method code with example usage: obj._verify_initialization(x) without return types