aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/vespa/eval/instruction/generic_lambda.h
blob: 8ed879cd8d2dd1fd14ac6db24720a3123991a5bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/eval/eval/interpreted_function.h>
#include <vespa/eval/eval/tensor_function.h>
#include <vespa/eval/eval/value_type.h>

namespace vespalib::eval::instruction {

struct GenericLambda {
    static InterpretedFunction::Instruction
    make_instruction(const tensor_function::Lambda &lambda_in,
                     const ValueBuilderFactory &factory, Stash &stash,
                     CTFMetaData *meta);
};

} // namespace