650c91bd46cdbd0f128ec05f45c92984009a9096,ml/rl/types.py,PreprocessedFeatureVector,PreprocessedFeatureVector_1,#,235

Before Change


@dataclass
class PreprocessedFeatureVector(BaseDataClass):
    float_features: torch.Tensor
    sequence_features: Optional[SequenceFeatures] = None
    // Experimental: sticking this here instead of putting it in float_features
    // because a lot of places derive the shape of float_features from
    // normalization parameters.
    time_since_first: Optional[torch.Tensor] = None

After Change


@dataclass
class PreprocessedFeatureVector(BaseDataClass):
    float_features: torch.Tensor
    id_list_features: IdListFeatures = dataclasses.field(default_factory=dict)
    // Experimental: sticking this here instead of putting it in float_features
    // because a lot of places derive the shape of float_features from
    // normalization parameters.
    time_since_first: Optional[torch.Tensor] = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: facebookresearch/Horizon
Commit Name: 650c91bd46cdbd0f128ec05f45c92984009a9096
Time: 2020-02-10
Author: kittipat@fb.com
File Name: ml/rl/types.py
Class Name: PreprocessedFeatureVector
Method Name: PreprocessedFeatureVector_1


Project Name: facebookresearch/Horizon
Commit Name: 4c15e9d54083b5ff857f9e37f44f5acd085c0ab8
Time: 2020-10-22
Author: kaiwenw@fb.com
File Name: reagent/workflow/types.py
Class Name: RLTrainingOutput
Method Name: RLTrainingOutput_1


Project Name: facebookresearch/Horizon
Commit Name: 650c91bd46cdbd0f128ec05f45c92984009a9096
Time: 2020-02-10
Author: kittipat@fb.com
File Name: ml/rl/types.py
Class Name: FeatureVector
Method Name: FeatureVector_1


Project Name: facebookresearch/Horizon
Commit Name: 650c91bd46cdbd0f128ec05f45c92984009a9096
Time: 2020-02-10
Author: kittipat@fb.com
File Name: ml/rl/types.py
Class Name: ModelFeatureConfig
Method Name: ModelFeatureConfig_1