https://github.com/Microsoft/CNTK
Raw File
Tip revision: 1c3ccaab20d01f500e4972f921f28d92184cf446 authored by yuxiaoguo on 25 July 2017, 02:48:17 UTC
solve caffe_pb2 problems
Tip revision: 1c3ccaa
BinaryConvolutionLib.cpp
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//

#include "BinaryConvolveOp.h"

using namespace CNTK;

extern "C" 
#ifdef _WIN32
__declspec (dllexport)
#endif
// define the call in to the binary convolve function, operands are the kernels and the inputs, attributes is a dictionary of parameters
Function* CreateBinaryConvolveFunction(const Variable* operands, size_t /*numOperands*/, const Dictionary* attributes, const wchar_t* name)
{
    return new BinaryConvolveFunction(operands[0], operands[1], *attributes, name);
}
back to top