This is a follow-up question from "c# Wrapper for CNTK step" After adding reference EvalWrapper.dll, The type or namespace name 'IEvaluateModelManagedF' could not be found error went away.
The next compile error I encounter is at line
model.CreateNetwork(string.Format("deviceId=-1\nmodelPath=\"{0}\"", modelFilePath));
Error CS1061 'IEvaluateModelManagedF' does not contain a definition for 'CreateNetwork' and no extension method 'CreateNetwork' accepting a first argument of type 'IEvaluateModelManagedF' could be found (are you missing a using directive or an assembly reference?)
I made sure all the DLLs are in the same directory as EvalWrapper.dll. What am I missing ? Thanks in advance,
I encountered this error too. To solve the problem you should add the following using
clause at the beginning of your code:
using Microsoft.MSR.CNTK.Extensibility.Managed;