public class TensorFeatureValue extends java.lang.Object implements FeatureValue
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static TensorFeatureValue |
fromTensorData(TensorFeatureType featureType,
TensorData tensorData) |
static TensorFeatureValue |
fromTypedTensor(TypedTensor typedTensor) |
TensorData |
getAsTensor() |
TypedTensor |
getAsTypedTensor() |
FeatureType |
getFeatureType() |
int |
hashCode() |
java.lang.String |
toString() |
public static TensorFeatureValue fromTensorData(TensorFeatureType featureType, TensorData tensorData)
public static TensorFeatureValue fromTypedTensor(TypedTensor typedTensor)
public FeatureType getFeatureType()
getFeatureType in interface FeatureValueFeatureType of this featurepublic TensorData getAsTensor()
public TypedTensor getAsTypedTensor()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object