blob: bdddde1ed2dfc238234647116cc4374c2457ffe7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/searchlib/fef/featureexecutor.h>
namespace search::tensor { class ITensorAttribute; }
namespace search::features {
class DirectTensorAttributeExecutor : public fef::FeatureExecutor
{
public:
using ITensorAttribute = search::tensor::ITensorAttribute;
DirectTensorAttributeExecutor(const ITensorAttribute &attribute);
void execute(uint32_t docId) override;
private:
const ITensorAttribute &_attribute;
};
}
|