code: def _make_rand_data(self, device, dtype, batch_size, dims):
      shape = [] if batch_size is None else [batch_size]
      return torch.rand([*shape, dims], device=device, dtype=dtype)
  
imports: import pytest
  import torch
  from kornia.geometry.conversions import euler_from_quaternion, rotation_matrix_to_quaternion
  from kornia.geometry.liegroup import Se3, So3
  from kornia.geometry.quaternion import Quaternion
  from kornia.geometry.vector import Vector3
  from kornia.testing import BaseTester
label_desc: Use image node_id 3 for calling the TestSe3 obj's underlying member method code with example usage: obj._make_rand_data(device, dtype, batch_size, dims) and returns: torch