summaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/tensor/tensor_deserialize.h
blob: 7d1ede2916773cf1e05f199a9fe45e41ea809a44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include <vespa/eval/eval/value.h>
#include <vespa/vespalib/objects/nbostream.h>

namespace search::tensor {

extern std::unique_ptr<vespalib::eval::Value>
deserialize_tensor(const void *data, size_t size);

extern std::unique_ptr<vespalib::eval::Value>
deserialize_tensor(vespalib::nbostream &stream);

} // namespace