code: def input(self, request, device, dtype):
      return request.param.to(device, dtype)
  
file_path: kornia/test/geometry/subpix/test_dsnt.py
imports: import pytest
  import torch
  import kornia
  from kornia.testing import assert_close
label_desc: Use image node_id 1 for calling the TestSpatialSoftmax2d obj's underlying member method code with example usage: obj.input(request, device, dtype) and returns: request