@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        TensorDataType that = (TensorDataType) o;
        return Objects.equals(tensorType, that.tensorType);
    }
Returns the type of the tensor this field can hold
document/src/main/java/com/yahoo/document/TensorDataType.java