.. _program_listing_file_src_translator_nth_element.h: Program Listing for File nth_element.h ====================================== |exhale_lsh| :ref:`Return to documentation for file ` (``src/translator/nth_element.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp /* All or part of this file was contributed by Intel under license: * Copyright (C) 2017-2018 Intel Corporation * SPDX-License-Identifier: MIT */ #pragma once #include "tensors/tensor.h" #include namespace marian { typedef std::function& outCosts, std::vector& outKeys, const bool isFirst)> GetNBestListFn; GetNBestListFn createGetNBestListFn(size_t beamSize, size_t dimBatch, DeviceId deviceId); } // namespace marian