Heimdall.tailor.WeightedResampleTailor#
- class Heimdall.tailor.WeightedResampleTailor(fc, sample_size)[source]#
Bases:
TailorMethods
limit(identity_inputs, expression_inputs, ...)Limit tokenization that exceeds the desired input length.
pad(identity_inputs, expression_inputs, ...)Pad tokenization that is smaller than desired input length.
weighted_resampling(identity_inputs, ...)Weighted sampling.