code: def test_multi_dim_one_hot_no_initial_layout():
      np.random.seed(42)
      for axis in [-1, 0, 1, 2, 3]:
          yield partial(
              check_one_hot_operator, initial_layout=None
          ), random_3d_tensors_batch, "cpu", axis
  
imports: from functools import partial
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops
  import nvidia.dali.types
  from test_utils import check_batch
  from nose_utils import raises
  import numpy
label_desc: Use image node_id 13 for calling a global function with example usage: test_multi_dim_one_hot_no_initial_layout() without return types