コード例 #1
0
ファイル: c_api.eager.cs プロジェクト: dje-dev/TensorFlow.NET
 public static extern void TFE_ContextOptionsSetAsync(SafeContextOptionsHandle opts, byte enable);
コード例 #2
0
 public static extern SafeContextHandle TFE_NewContext(SafeContextOptionsHandle opts, SafeStatusHandle status);
コード例 #3
0
ファイル: CApiTest.cs プロジェクト: samuelcaldas/PPO.NETv2
 protected SafeContextHandle TFE_NewContext(SafeContextOptionsHandle opts, SafeStatusHandle status)
 => c_api.TFE_NewContext(opts, status);
コード例 #4
0
 public static extern void TFE_ContextOptionsSetDevicePlacementPolicy(SafeContextOptionsHandle opts, ContextDevicePlacementPolicy device_policy);
コード例 #5
0
 public static extern void TFE_ContextOptionsSetConfig(SafeContextOptionsHandle opts, byte[] proto, ulong proto_len, SafeStatusHandle status);
コード例 #6
0
 public ContextOptions()
 {
     Handle = c_api.TFE_NewContextOptions();
 }