code: def test_scalar_shared_options():
      res = pytensor.shared(
          value=np.float32(0.0), name="lk", borrow=True
      )
      assert isinstance(res, ScalarSharedVariable)
      assert res.type.dtype == "float32"
      assert res.name == "lk"
      assert res.type.shape == ()
  
file_path: pytensor/tests/tensor/test_sharedvar.py
imports: from functools import update_wrapper
  import numpy
  import pytest
  import pytensor
  import pytensor.sparse
  import pytensor.tensor
  from pytensor.misc.may_share_memory import may_share_memory
  from pytensor.tensor import get_vector_length
  from pytensor.tensor.basic import MakeVector
  from pytensor.tensor.shape import Shape_i, specify_shape
  from pytensor.tensor.sharedvar import ScalarSharedVariable, TensorSharedVariable
  from tests import unittest_tools
label_desc: Use image node_id 3 for calling a global function with example usage: test_scalar_shared_options() without return types