pub(crate) fn dense_offset(&self) -> usize {
        match &self.variant {
            EncoderVariant::TargetEncode(ref variant) => variant.dense_offset(),
            EncoderVariant::SubmodularExpansion(ref variant) => variant.dense_offset(),
            EncoderVariant::SubmodularExpansionNoSplit(ref variant) => variant.dense_offset(),
            EncoderVariant::FrequencyTruncation(ref variant) => variant.dense_offset(),
            EncoderVariant::FieldAwareFrequencyTruncation(ref variant) => variant.dense_offset(),
            EncoderVariant::SubmodularSort(ref variant) => variant.dense_offset(),
            EncoderVariant::NoSplitSubmodularSort(ref variant) => variant.dense_offset(),
            EncoderVariant::Identity(ref variant) => variant.dense_offset(),
        }
    }
/// The offset at which dense features should be written.
///
/// This will typically end up being the budget, and it is the number
/// of feature columns that are sparse (so that the dense columns come after).
The offset at which dense features should be written.
This will typically end up being the budget, and it is the number
of feature columns that are sparse (so that the dense columns come after).
The offset at which dense features should be written . This will typically end up being the budget and it is the number of feature columns that are sparse ( so that the dense columns come after ) .
pub(crate) fn dense_offset(&self) -> usize {
        match &self.variant {
            EncoderVariant::TargetEncode(ref variant) => variant.dense_offset(),
            EncoderVariant::SubmodularExpansion(ref variant) => variant.dense_offset(),
            EncoderVariant::SubmodularExpansionNoSplit(ref variant) => variant.dense_offset(),
            EncoderVariant::FrequencyTruncation(ref variant) => variant.dense_offset(),
            EncoderVariant::FieldAwareFrequencyTruncation(ref variant) => variant.dense_offset(),
            EncoderVariant::SubmodularSort(ref variant) => variant.dense_offset(),
            EncoderVariant::NoSplitSubmodularSort(ref variant) => variant.dense_offset(),
            EncoderVariant::Identity(ref variant) => variant.dense_offset(),
        }
    }
pub ( crate ) fn dense_offset ( & self ) -> usize { match & self . variant { EncoderVariant :: TargetEncode ( ref variant ) => variant . dense_offset ( ) , EncoderVariant :: SubmodularExpansion ( ref variant ) => variant . dense_offset ( ) , EncoderVariant :: SubmodularExpansionNoSplit ( ref variant ) => variant . dense_offset ( ) , EncoderVariant :: FrequencyTruncation ( ref variant ) => variant . dense_offset ( ) , EncoderVariant :: FieldAwareFrequencyTruncation ( ref variant ) => variant . dense_offset ( ) , EncoderVariant :: SubmodularSort ( ref variant ) => variant . dense_offset ( ) , EncoderVariant :: NoSplitSubmodularSort ( ref variant ) => variant . dense_offset ( ) , EncoderVariant :: Identity ( ref variant ) => variant . dense_offset ( ) , } }
The offset at which dense features should be written.
The offset at which dense features should be written .
&self
&self