code: def shared_constructor(
      value, name=None, strict=False, allow_downcast=None, **kwargs
  ):
      return SharedVariable(
          type=generic,
          value=value,
          strict=strict,
          allow_downcast=allow_downcast,
          name=name,
      )
  
file_path: pytensor/pytensor/compile/sharedvalue.py
imports: import copy
  from contextlib import contextmanager
  from functools import singledispatch
  from typing import TYPE_CHECKING, Optional
  from pytensor.graph.basic import Variable
  from pytensor.graph.utils import add_tag_trace
  from pytensor.link.basic import Container
  from pytensor.link.c.type import generic
label_desc: Use image node_id 3 for calling a global function with example usage: shared_constructor(value, name, strict, allow_downcast) and returns: SharedVariable