MCPcopy Create free account
hub / github.com/davisking/dlib / clear_context

Method clear_context

examples/slm_advanced_train_ex.cpp:733–733  ·  view source on GitHub ↗

Clear the current context

Source from the content-addressed store, hash-verified

731 int get_padding_token() const { return padding_token_; }
732 // Clear the current context
733 void clear_context() { current_context_.clear(); }
734
735private:
736 const size_t max_context_size_; // Maximum total tokens in context

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected