Summary:
Make changes to reagent transforms and CB preprocessor to add support for variable number of arms
The main API change is that num_arms=None in FbContBanditBatchPreprocessor, then we use variable-length version of the code.
A presence tensor is generated to indicate which arms are present vs 0-padded
Add arm_presence field to CBInput to indicate which arms are present
Summary: Make changes to reagent transforms and CB preprocessor to add support for variable number of arms
num_arms=None
inFbContBanditBatchPreprocessor
, then we use variable-length version of the code. A presence tensor is generated to indicate which arms are present vs 0-paddedarm_presence
field toCBInput
to indicate which arms are presentDifferential Revision: D41989361