https://github.com/Microsoft/CNTK
Raw File
Tip revision: ecec20e7ff777192e0a6b8908990f7cc2d7fbbe5 authored by Yuqing Tang on 18 May 2018, 18:33:04 UTC
corrected a typo in comment.
Tip revision: ecec20e
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