@Override
    public Inspector inspect() {
        if (isEmpty()) return Value.empty();

        // We may have cached values in values, but unless we have changed values we can still use the inspector
        if (!mutated) return encodedValues;

        decodeAll();
        Slime slime = new Slime();
        Cursor root = slime.setObject();
        for (var entry : values.entrySet()) {
            if (entry.getValue().type().rank() == 0)
                root.setDouble(entry.getKey(), entry.getValue().asDouble());
            else
                root.setData(entry.getKey(), TypedBinaryFormat.encode(entry.getValue()));
        }
        return new SlimeAdapter(root);
    }
Returns the fields of this as an inspector, where tensors are represented as binary data
which can be decoded using
<code>com.yahoo.tensor.serialization.TypedBinaryFormat.decode(Optional.empty(), GrowableByteBuffer.wrap(featureValue.asData()))</code>
container-search/src/main/java/com/yahoo/search/result/FeatureData.java