https://github.com/Microsoft/CNTK
Raw File
Tip revision: 8a5717fd20f0b29aa62131ad09c2ee7e82aefe35 authored by liqfu on 01 August 2018, 23:29:26 UTC
treat sequence axis as static axis for ONNX RNN model import
Tip revision: 8a5717f
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