public class TensorDataType extends DataType
Modifier and Type | Field and Description |
---|---|
static int |
classId |
private com.yahoo.tensor.TensorType |
tensorType |
Constructor and Description |
---|
TensorDataType(com.yahoo.tensor.TensorType tensorType) |
Modifier and Type | Method and Description |
---|---|
TensorDataType |
clone() |
FieldValue |
createFieldValue()
Creates a new, empty FieldValue of this type
|
com.yahoo.tensor.TensorType |
getTensorType()
Returns the type of the tensor this field can hold
|
Class<? extends TensorFieldValue> |
getValueClass() |
boolean |
isValueCompatible(FieldValue value) |
buildFieldPath, compareTo, createByReflection, createFieldValue, equals, getArray, getCode, getId, getMap, getName, getPrimitiveType, getTensor, getWeightedSet, getWeightedSet, hashCode, isAssignableFrom, isMultivalue, isRegistered, lastPredefinedDataTypeId, register, register, setId, setName, setRegistered, skipDotInString, toString, visitMembers
private final com.yahoo.tensor.TensorType tensorType
public static int classId
public TensorDataType clone()
public FieldValue createFieldValue()
DataType
createFieldValue
in class DataType
public Class<? extends TensorFieldValue> getValueClass()
getValueClass
in class DataType
public boolean isValueCompatible(FieldValue value)
isValueCompatible
in class DataType
public com.yahoo.tensor.TensorType getTensorType()
Copyright © 2017. All rights reserved.