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

Method get_features

dlib/test/sequence_labeler.cpp:64–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63 template <typename feature_setter, typename EXP>
64 void get_features (
65 feature_setter& set_feature,
66 const sequence_type& x,
67 const matrix_exp<EXP>& y,
68 unsigned long position
69 ) const
70 {
71 if (y.size() > 1)
72 set_feature(y(1)*num_label_states + y(0));
73
74 set_feature(num_label_states*num_label_states +
75 y(0)*num_sample_states + x.item[position]);
76 }
77 };
78
79 class feature_extractor_partial

Callers

nothing calls this directly

Calls 2

yFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected