code: def test_dot(self):
      x = pt.lmatrix("x")
      y = pt.lmatrix("y")
      x = sparse.csr_from_dense(x)
      y = sparse.csr_from_dense(y)
  
      z = x.__dot__(y)
      assert isinstance(z.type, SparseTensorType)
  
      f = pytensor.function([x, y], z)
      exp_res = f(
          [[1, 0, 2], [-1, 0, 0]],
          [[-1], [2], [1]],
      )
      assert isinstance(exp_res, csr_matrix)
  
file_path: pytensor/tests/sparse/test_var.py
imports: from contextlib import ExitStack
  import numpy
  import pytest
  from scipy.sparse.csr import csr_matrix
  import pytensor
  import pytensor.sparse
  import pytensor.tensor
  from pytensor.sparse.type import SparseTensorType
  from pytensor.tensor.type import DenseTensorType
label_desc: Use image node_id 6 for calling the TestSparseVariable obj's underlying member method code with example usage: obj.test_dot() without return types