mlpack  3.4.2
policy_traits.hpp
Go to the documentation of this file.
1 
14 #ifndef MLPACK_CORE_DATA_STRING_ENCODING_POLICIES_POLICY_TRAITS_HPP
15 #define MLPACK_CORE_DATA_STRING_ENCODING_POLICIES_POLICY_TRAITS_HPP
16 
17 #include <mlpack/prereqs.hpp>
18 
19 namespace mlpack {
20 namespace data {
21 
26 template<class PolicyType>
28 {
33  static const bool onePassEncoding = false;
34 };
35 
36 } // namespace data
37 } // namespace mlpack
38 
39 #endif
prereqs.hpp
The core includes that mlpack expects; standard C++ includes and Armadillo.
mlpack::data::StringEncodingPolicyTraits::onePassEncoding
static const bool onePassEncoding
Indicates if the policy is able to encode the token at once without any information about other token...
Definition: policy_traits.hpp:33
mlpack::data::StringEncodingPolicyTraits
This is a template struct that provides some information about various encoding policies.
Definition: policy_traits.hpp:28
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: add_to_cli11.hpp:21