MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / get_sampler

Method get_sampler

llama_cpp/_internals.py:671–672  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

669 self.sampler.ctx = None
670
671 def get_sampler(self) -> llama_cpp.llama_sampler_p:
672 return ctypes.pointer(self.sampler)
673
674
675class LlamaSampler:

Callers 1

add_customMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected