code: def test_device_buffer(device):
      buf = chainerx.testing._DeviceBuffer(
          [1, 2, 3, 4, 5, 6], (2, 3), chainerx.float32, device
      )
      mv = memoryview(buf)
      assert mv.format == "f"
      assert mv.itemsize == 4
      assert mv.contiguous
      assert not mv.f_contiguous
      assert not mv.readonly
      assert mv.ndim == 2
      assert mv.shape == (2, 3)
      assert mv.strides == (12, 4)
      assert mv.tolist() == [[1, 2, 3], [4, 5, 6]]
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_device_buffer(device) without return types