class_docstr: Useful base class for L{Linker}s which keep all nodes in the graph, and run
  a thunk associated with each node.
class_docstr_tok: ["Useful","base","class","for","L","{","Linker","}","s","which","keep","all","nodes","in","the","graph",",","and","run","a","thunk","associated","with","each","node","."]
code: def make_thunk(
      self,
      input_storage: Optional["InputStorageType"] = None,
      output_storage: Optional["OutputStorageType"] = None,
      storage_map: Optional["StorageMapType"] = None,
      **kwargs,
  ) -> tuple["BasicThunkType", "InputStorageType", "OutputStorageType"]:
      return self.make_all(
          input_storage=input_storage,
          output_storage=output_storage,
          storage_map=storage_map,
      )[:3]
  
imports: from abc import ABC, abstractmethod
  from collections.abc import Sequence
  from copy import copy, deepcopy
  from typing import TYPE_CHECKING, Any, Callable, Optional, Union
  from pytensor.configdefaults import config
  from pytensor.graph.basic import Apply, Variable
  from pytensor.graph.fg import FunctionGraph
  from pytensor.graph.type import Type
  from pytensor.link.utils import gc_helper, map_storage, raise_with_op, streamline
  from pytensor.utils import difference
label_desc: Use image node_id 1 for calling the LocalLinker obj's underlying member method code with example usage: obj.make_thunk(input_storage, output_storage, storage_map) and returns: self