code: def test_dot(input_size, device):
      qa = random_qtensor((input_size,), dtype=torch.float32).to(device)
      qb = random_qtensor((input_size,), dtype=torch.float32).to(device)
      qdot = torch.dot(qa, qb)
      assert isinstance(qdot, QTensor)
      # The outputs should be almost identical if we use the dequantized inputs
      dot = torch.dot(qa.dequantize(), qb.dequantize())
      q_assert_close(dot, qdot)
  
file_path: quanto/test/tensor/ops/test_quantized_dispatch.py
imports: import pytest
  import torch
  from helpers import q_assert_close, random_qtensor, random_tensor
  from quanto import QTensor
label_desc: Use image node_id 4 for calling a global function with example usage: test_dot(input_size, device) without return types