Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ operator()
Method
operator()
dlib/svm/kernel.h:364–370 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
362
COMPILE_TIME_ASSERT(T::NC == 1 || T::NC == 0);
363
364
scalar_type operator() (
365
const sample_type& a,
366
const sample_type& b
367
) const
368
{
369
return trans(a)*b;
370
}
371
372
bool operator== (
373
const linear_kernel&
Callers
nothing calls this directly
Calls
1
trans
Function · 0.50
Tested by
no test coverage detected