public OnlyPolicy(TensorFlow.TcpCommClient client = null, string networkName = "policy192") { this.networkName = networkName; if (client == null) { while (!this.client.Connect("localhost", 9999)) { Console.WriteLine("ConnectionFailed."); System.Threading.Thread.Sleep(1000); } } else { this.client = client; } }
public MinMax(TensorFlow.TcpCommClient client = null, string name = "value192") { valueNetName = name; if (client != null) { this.client = client; } else { while (!this.client.Connect("localhost", 9999)) { Console.WriteLine("ConnectionFailed."); System.Threading.Thread.Sleep(1000); } } }