StringEncodingPolicyTraits< PolicyType > Struct Template Reference

This is a template struct that provides some information about various encoding policies. More...

Static Public Attributes

static const bool onePassEncoding = false
 Indicates if the policy is able to encode the token at once without any information about other tokens as well as the total tokens count. More...

 

Detailed Description


template
<
class
PolicyType
>

struct mlpack::data::StringEncodingPolicyTraits< PolicyType >

This is a template struct that provides some information about various encoding policies.

Definition at line 27 of file policy_traits.hpp.

Member Data Documentation

◆ onePassEncoding

const bool onePassEncoding = false
static

Indicates if the policy is able to encode the token at once without any information about other tokens as well as the total tokens count.

Definition at line 33 of file policy_traits.hpp.


The documentation for this struct was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.3.2/src/mlpack/core/data/string_encoding_policies/policy_traits.hpp