Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ apply_first
Method
apply_first
include/ctranslate2/decoding_utils.h:78–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
virtual ~LogitsProcessor() = default;
77
78
virtual bool apply_first() const {
79
return false;
80
}
81
82
virtual void apply(dim_t step,
83
StorageView& logits,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected