mirror of https://github.com/davisking/dlib.git
Renamed a function.
This commit is contained in:
parent
011aae49c1
commit
4b165cd186
|
@ -46,7 +46,7 @@ namespace dlib
|
||||||
) const { return node_weights; }
|
) const { return node_weights; }
|
||||||
|
|
||||||
template <typename graph_type>
|
template <typename graph_type>
|
||||||
void predict_assignments (
|
void operator() (
|
||||||
const graph_type& samp,
|
const graph_type& samp,
|
||||||
result_type& labels
|
result_type& labels
|
||||||
) const
|
) const
|
||||||
|
@ -83,7 +83,7 @@ namespace dlib
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
result_type temp;
|
result_type temp;
|
||||||
predict_assignments(sample, temp);
|
(*this)(sample, temp);
|
||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue