code: def test_get_kron_order(d1, d2):
      out = get_kron_order(d1, d2)
      assert out.shape == (d1 * d2, 2)
  
imports: from math import pi
  import pytest
  import torch
  from torch.autograd import gradcheck
  import kornia.testing
  from kornia.feature.mkd import COEFFS, EmbedGradients, ExplicitSpacialEncoding, MKDDescriptor, MKDGradients, SimpleKD, VonMisesKernel, Whitening, get_grid_dict, get_kron_order, spatial_kernel_embedding
  from kornia.testing import assert_close
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_kron_order(d1, d2) without return types