Alexey Orlov
c9db38f99c
Enabling Strong Name for EvalWrapper
2016-08-11 13:37:04 -07:00
Gaizka Navarro
234662c008
Makes EvalDll.dll a delay-loaded library to support ASP Net native dependencies path issues.
2016-07-18 17:27:17 +02:00
Clemens Marschner
150058944b
Fix a minor glitch
2016-07-13 16:56:03 +02:00
Clemens Marschner
216c3c0d4a
Code Review Comments
2016-07-13 16:55:36 +02:00
Clemens Marschner
16154efdff
Fix EvalWrapper build (merge issue)
2016-07-13 16:44:19 +02:00
Clemens Marschner
dc740fa86c
Fix bug in extended eval with multiple inputs
...
- Fix ordering of inputs in extended eval (it was mixing up the order
returned from the network with the order [alphabetic] returned
- Expose brainscript exceptions to .net, including stacktrace
- Expose exceptions happening in StartForwardEvaluation rather than
throwing SEHException
- Some more error checking for forward pass
- Enable retrieving brainscript errors rather than outputting to stderr.
2016-07-13 16:44:18 +02:00
Gaizka Navarro
271476466a
Replaces loading EvalDLL dynamically, with import library.
2016-07-12 09:57:35 +02:00
Gaizka Navarro
29fe7ec7ed
Fixed left-alignment (removed spacing)
2016-06-21 11:50:57 +02:00
Gaizka Navarro
192319ef9e
Fixes finding the EvalDLL in EvalWrapper by using the location of the executing assembly.
2016-06-21 11:39:41 +02:00
Gaizka Navarro
009ab5a936
Cleans exception serialization
...
Adds serialization test
2016-06-20 17:14:42 +02:00
Gaizka Navarro
7a9fb82187
Fixes memory leak
2016-06-20 17:14:41 +02:00
Gaizka Navarro
5b763126ac
Reverts to GetOutputSchema and GetInputSchema instead of GetSchema(NodeGroup)
...
Corrects EvalManagedSparseTimesTest with correct sparse Size
Cleanup
2016-06-20 17:14:20 +02:00
Gaizka Navarro
2a1438b5de
Applies Clemens' changes and fixes
2016-06-20 17:14:18 +02:00
Gaizka Navarro
328194fa9c
Applies CR feedback.
...
Clean up (remove unecessary code)
Moves enums outside class
Corrects pointer indirection in ValueBuffer::Size property
Replaces C# bare strings with @strings
2016-06-20 17:13:07 +02:00
Gaizka Navarro
036476bf63
Completes pinning managed memory prior to native evaluation.
...
Applies CR feedback
2016-06-20 17:13:03 +02:00
Gaizka Navarro
1104a7e134
Adds CNTK Eval Extended interface implementation for EvalExtendedWrapper
...
Updates C# example method and CLI EvalWrapper to use ValueBuffer instead of VariableBuffer
Merge with master and re-apply Serialization attributes
Updates EvalWrapper for extended interface
Adds Unit tests for Eval extended managed interface classes.
2016-06-20 17:12:31 +02:00
Project Philly
940bd31446
Integrate 0e8826e3a8
into master
2016-06-08 07:15:12 -07:00
Gaizka Navarro
f36527fbf5
Adds helper methods to the eval wrapper to enable exposing hidden layer outputs for evaluation
2016-06-01 14:17:00 +02:00
Luis Velazco
cf0798400f
Make CNTKExceptions serializable so they can be passed accross AppDomains.
2016-05-25 14:34:46 -07:00
Gaizka Navarro
ecfb7fbabd
This commit fixes the issue of initializing the model when using the CreateNetwork(description, deviceId) method.
2016-05-04 16:51:52 +02:00
Gaizka Navarro
489f4a5b15
This commits applies CR feedback: Throw exception when NodeGroup cannot be converted
2016-05-02 14:50:30 +02:00
Gaizka Navarro
66844e086b
This commit exposes the GetNodeDimensions function from the eval dll to the managed layer. It also updates the CSEvalClient to show how to use it as well as some enhanced overloads for evaluation.
2016-05-02 14:50:30 +02:00
Mark Hillebrand
885f665159
.vcxproj: clean up include and library path settings
...
Closes #89 .
2016-04-14 10:51:56 +02:00
Alexey Volkov
bf6a49d8cd
Fixed the projects that were always considered out of date.
...
Solution: Fixed/removed the header files in some projects.
2016-03-25 13:24:36 -07:00
Gaizka Navarro
ead48bef6d
Remove LoadModel from eval and force use of CreateNetwork instead.
...
Update description in CSEvalClient to clarify the purpose of the program
2016-03-17 17:08:44 +01:00
Gaizka Navarro
43ec7dc427
Enables EvalWrapper to evaluate a network without any input
2016-03-17 17:08:44 +01:00
Gaizka Navarro
09c1355400
Enables EvalWrapper to evaluate ndl networks without a model
...
Adds a sample NDL operator for the C# application
Refactors C# Eval Client application to have 3 separate examples
2016-03-17 17:08:34 +01:00
Frank Seide
10c4b7d3de
fixed Image/QuickE2E for new TimesNode
2016-02-26 13:45:18 -08:00
Frank Seide
b46a895b28
improved logging for exceptions (call stack, inner exceptions in ComputationNode like VerifySize() failure)
2016-02-24 21:22:56 -08:00
Gaizka Navarro
09dea188f5
Adds ExceptionWithCallStack class to wrap native exceptions (runtime_error, logic_error, invalid_arguent), so that the call stack can be provided to the managed layer.
...
Moves DebugUtil functions (PrintCallStack, GetCallStack) to ExceptionWithCallStack
Refactors the PrintCallStack and GetCallStack functions in ExceptionWithCallBack to re-use the common functionality.
Make gcc happy
2016-02-23 09:11:12 +01:00
Frank Seide
cbb8fc11d7
made Eval.h not depend on other CNTK headers, and excluded Eval.cpp from build (not used)
2016-02-19 16:38:22 -08:00
Gaizka Navarro
9fc1c45e16
Adds native exception catching and rethrowing to managed layer.
...
The managed wrapper provides custom managed exceptions mapping to the native exceptions thrown (runtime_error, logic_error, invalid_argument, and bad_alloc). Other exceptions are thrown in the base custom exception class CNTKException.
Adds code for reporting, during an exception, the stack trace (as a string and as part of the exception message) to the managed layer from the native layer.
MathTests now uses the shared DebugUtil.cpp file instead of its own copy.
2016-02-17 15:15:40 +01:00
Mark Hillebrand
2c2a721fa8
CNTK.Cpp.props: define properties to distinguish build flavors and use them
2016-02-10 09:05:31 +01:00
Mark Hillebrand
ea55623979
Introduce CNTK.Cpp.props and load in every .vcxproj
2016-02-10 09:05:31 +01:00
Mark Hillebrand
3b979f877a
.vcxproj: coalesce importing for .user.props for Debug / Release
2016-02-10 09:05:31 +01:00
Gaizka Navarro
4fe5fd7251
Modified projects and solution for a new CPUONLY configuration (Debug_CpuOnly and Release_CpuOnly)
...
Added missing CRT_SECURE_NO_WARNINGS to latticeNoGpu.cpp
Added missing reference to Matrix<double> (causing linking issues in Release_CpuOnly)
2016-01-27 16:16:37 +01:00
Gaizka Navarro
53de59c1c7
Added CLI Wrapper to native Evaluation Model
...
Added C# Client for CLI wrapper
2016-01-25 15:08:54 +01:00