swh:1:snp:f50ab94432af916b5fb8b4ad831e8dddded77084
Raw File
Tip revision: 3cc806c997f88c3ff018112ec7ade415e6c6ea44 authored by jeremywhm2 on 23 March 2020, 01:52:38 UTC
Insertion boost and length normalization during beam search pruning
Tip revision: 3cc806c
stdafx.h
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS // "secure" CRT not available on all platforms  --add this at the top of all CPP files that give "function or variable may be unsafe" warnings
#endif
#define _SCL_SECURE_NO_WARNINGS // current API of matrix does not allow safe invokations. TODO: change api to proper one.

#ifdef _WIN32
#include "targetver.h"
#endif

#include <array>

#ifndef _WIN32
#define BOOST_TEST_DYN_LINK
#endif
#include <boost/test/unit_test.hpp>

#include "constants.h"
#include "fixtures.h"
#define HALF_IN_BOOST_TEST
back to top