Class QuinceFeatureTypeMapper

java.lang.Object
com.linkedin.feathr.common.value.QuinceFeatureTypeMapper

public class QuinceFeatureTypeMapper extends Object
A mapper, or translator, that provides a Quince TensorType for a given FeatureType. This class is guaranteed to conform to sister class QuinceFeatureFormatMapper such that for any FeatureType-TensorType mapping provided by this class, any FeatureValue having that FeatureType would be converted to a TensorData conforming to that TensorType.
  • Field Details

  • Method Details

    • fromFeatureType

      public TensorType fromFeatureType(FeatureType featureType)
      Parameters:
      featureType - a FeatureType
      Returns:
      a TensorType that would apply to any TensorData produced by QuinceFeatureFormatMapper for an input FeatureValue having the provided FeatureType.