https://github.com/Microsoft/CNTK
Raw File
Tip revision: 48800fbdf6a357a8ebdd1d9a22f22d23abe9289b authored by Chris Basoglu on 21 November 2016, 18:56:31 UTC
Fix tutorial links
Tip revision: 48800fb
Exports.cpp
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
// Exports.cpp : Defines the exported functions for the DLL application.
//

#include "stdafx.h"
#define DATAREADER_EXPORTS
#include "DataReader.h"
#include "DSSMReader.h"

namespace Microsoft { namespace MSR { namespace CNTK {

extern "C" DATAREADER_API void GetReaderF(IDataReader** preader)
{
    *preader = new DSSMReader<float>();
}
extern "C" DATAREADER_API void GetReaderD(IDataReader** preader)
{
    *preader = new DSSMReader<double>();
}

}}}
back to top