https://github.com/Microsoft/CNTK
Raw File
Tip revision: 2a1e3e78e9e6f0bdb852bb6972361a9efc0a25c3 authored by Eldar Akchurin on 18 December 2017, 11:42:17 UTC
Adapting the test to use v1 cntk model
Tip revision: 2a1e3e7
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