示例#1
0
文件: Library.cs 项目: radtek/emgutf
 /// <summary>
 /// Load the library specified by libraryFilename and register the ops and
 /// kernels present in that library.
 /// </summary>
 /// <param name="libraryFilename">The library file name</param>
 /// <param name="status">The status</param>
 public Library(String libraryFilename, Status status = null)
 {
     using (StatusChecker checker = new StatusChecker(status))
         _ptr = TfInvoke.tfeLoadLibrary(libraryFilename, checker.Status);
 }