code: def numba_funcify_TensorFromScalar(op, **kwargs):
      @numba_basic.numba_njit(inline="always")
      def tensor_from_scalar(x):
          return np.array(x)
  
      return tensor_from_scalar
  
file_path: pytensor/pytensor/link/numba/dispatch/tensor_basic.py
imports: from textwrap import indent
  import numpy
  from pytensor.link.numba.dispatch import basic
  from pytensor.link.numba.dispatch.basic import create_tuple_string, numba_funcify
  from pytensor.link.utils import compile_function_src, unique_name_generator
  from pytensor.tensor.basic import Alloc, AllocEmpty, ARange, ExtractDiag, Eye, Join, MakeVector, ScalarFromTensor, Split, TensorFromScalar
  from pytensor.tensor.shape import Unbroadcast
label_desc: Use image node_id 10 for calling a global function with example usage: numba_funcify_TensorFromScalar(op) and returns: tensor_from_scalar, np