Package com.linkedin.feathr.common
Class AutoTensorizableTypes
java.lang.Object
com.linkedin.feathr.common.AutoTensorizableTypes
Mappings from Feathr FeatureTypes to their "auto-tensorized" tensor type. In other words, when the feature owner does
not specify a tensor type, Feathr will pick one based on the feature's FeatureType.
These mappings define how Feathr will represent features having types NUMERIC, CATEGORICAL, etc., as Quince tensors.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<TensorType>getDefaultTensorType(FeatureTypes featureType) Get the default tensor type for the given Feathr FeatureType, if there is one.
-
Method Details
-
getDefaultTensorType
Get the default tensor type for the given Feathr FeatureType, if there is one.- Parameters:
featureType- the Feathr featureType- Returns:
- the automatically assigned Quince TensorType for the given Feathr FeatureType, if one exists
-