Пример #1
0
 public static void Init(bool isGpu = false)
 {
     try
     {
         Current = new NativeBinding(isGpu);
     }
     catch (Exception ex)
     {
         Log("TF Init failed");
         Log(ex.ToString());
         Current = null;
     }
 }
Пример #2
0
 public static void Init(bool isGpu = false)
 {
     Current = new NativeBinding(isGpu);
 }
Пример #3
0
 public static void Init()
 {
     Current = new NativeBinding();
 }