<commit_before>#pragma once

#include <type_traits>


namespace NativeJIT
{
    template <typename PACKED>
    class Model
    {
    public:
        typedef typename PACKED PackedType;

        Model();

        float Apply(PACKED packed) const;

        float& operator[](unsigned index);
        float const & operator[](unsigned index) const;

        float& operator[](PACKED packed);
        float const & operator[](PACKED packed) const;

        // m_data must be public or friend of NativeJIT::ExpressionNodeFactory.
        // Otherwise the JIT compiler cannot access m_data.
        // TODO: Policy decision. Do we require members be public or do we
        // use the friend keyword?.

        static const unsigned c_size = 1 << PACKED::c_totalBitCount;
        float m_data[c_size];
    };


    //*************************************************************************
    //
    // Template definitions for Model<PACKED>
    //
    //*************************************************************************
#pragma warning(push)
#pragma warning(disable:4351)
    template <typename PACKED><commit_msg>Minor tweak to minor model tweak.<commit_after>#pragma once

#include <type_traits>


namespace NativeJIT
{
    template <typename PACKED>
    class Model
    {
    public:
        typedef PACKED PackedType;

        Model();

        float Apply(PACKED packed) const;

        float& operator[](unsigned index);
        float const & operator[](unsigned index) const;

        float& operator[](PACKED packed);
        float const & operator[](PACKED packed) const;

        // m_data must be public or friend of NativeJIT::ExpressionNodeFactory.
        // Otherwise the JIT compiler cannot access m_data.
        // TODO: Policy decision. Do we require members be public or do we
        // use the friend keyword?.

        static const unsigned c_size = 1 << PACKED::c_totalBitCount;
        float m_data[c_size];
    };


    //*************************************************************************
    //
    // Template definitions for Model<PACKED>
    //
    //*************************************************************************
#pragma warning(push)
#pragma warning(disable:4351)
    template <typename PACKED>
{'fraction_non_alphanumeric': 0.21120497999110716, 'fraction_numerical': 0.004446420631391729, 'mean_word_length': 2.9335664335664338, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7620370', 'n_tokens_mistral': 588, 'n_tokens_neox': 542, 'n_words': 179}