class_docstr: A `Linker` that JIT-compiles NumPy-based operations using Numba.
code: def output_filter(self, var: "Variable", out: Any) -> Any:
      if not isinstance(var, np.ndarray) and isinstance(
          var.type, pytensor.tensor.TensorType
      ):
          return var.type.filter(out, allow_downcast=True)
  
      return out
  
file_path: pytensor/pytensor/link/numba/linker.py
imports: from typing import TYPE_CHECKING, Any
  import numpy
  import pytensor
  from pytensor.link.basic import JITLinker
label_desc: Use image node_id 1 for calling the NumbaLinker obj's underlying member method code with example usage: obj.output_filter(var, out) and returns: out, var