Template Function morpheus::llm::make_lambda_node(std::function&&)

template<typename ReturnT, typename ...ArgsT>
auto morpheus::llm::make_lambda_node(std::function<ReturnT(ArgsT...)> &&fn)

Template function that creates a LLMLambdaNode from a function.

Template Parameters
  • ReturnT – return type

  • ArgsT – function args

Parameters

fn – function that returns a Task

Returns

auto

Previous Function morpheus::llm::is_valid_node_name
Next Template Function morpheus::llm::make_lambda_node(FuncT&&)
© Copyright 2023, NVIDIA. Last updated on Feb 2, 2024.