https://github.com/Microsoft/CNTK
Raw File
Tip revision: 4ed189633247ce4a5a6d3c5f1f77422cdd66dc6c authored by liqfu on 17 September 2018, 23:10:48 UTC
set public_build to "no"/false
Tip revision: 4ed1896
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