Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ clone
Method
clone
tests/attention_test.cc:30–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
}
29
protected:
30
std::unique_ptr<Model> clone() const override { return nullptr; }
31
};
32
33
class TestableAttention : public layers::MultiHeadAttention {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected