code: def test_qtensor_stride(device):
      input_shape = (2, 4, 8)
      a = random_tensor(input_shape, dtype=torch.float32).to(device)
      qa = QTensor.quantize(a)
      assert qa.stride() == a.stride()
      ta = a.transpose(2, 1)
      tqa = qa.transpose(2, 1)
      assert tqa.stride() == ta.stride()
  
file_path: quanto/test/tensor/test_qtensor.py
imports: import os
  from tempfile import TemporaryDirectory
  import pytest
  import torch
  from helpers import assert_similar, device_eq, q_assert_close, random_qtensor, random_tensor
  from quanto import QTensor, absmax_scale
label_desc: Use image node_id 9 for calling a global function with example usage: test_qtensor_stride(device) without return types