code: def test_tucker_normalize(shape, rank):
      tucker_ten = ivy.random_tucker(shape, rank)
      core, factors = ivy.TuckerTensor.tucker_normalize(tucker_ten)
      for i in range(len(factors)):
          norm = ivy.sqrt(ivy.sum(ivy.abs(factors[i]) ** 2, axis=0))
          assert np.allclose(norm, ivy.ones(rank[i]))
      assert np.allclose(
          ivy.TuckerTensor.tucker_to_tensor((core, factors)),
          ivy.TuckerTensor.tucker_to_tensor(tucker_ten),
      )
  
file_path: ivy/ivy_tests/test_ivy/test_misc/test_factorized_tensor/test_tucker_tensor.py
imports: import ivy
  import numpy
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_tucker_normalize(shape, rank) without return types