https://github.com/Microsoft/CNTK
Raw File
Tip revision: a6a6531f612ae93418105aaf4cc2b072e36f8068 authored by liqfu on 08 September 2018, 22:42:10 UTC
onnx support for more sequence ops, remove CNTK softmax limitation for onnx
Tip revision: a6a6531
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