예제 #1
0
 public static TensorFlow.TFOutput[] While(this TFGraph graph, TensorFlow.TFOutput[] inputs, TensorFlow.TFGraph constructor, TensorFlow.TFStatus status = null)
 {
     return(graph.While(inputs, constructor, status));
 }
예제 #2
0
 /// <summary>
 /// Construct optimizer.
 /// </summary>
 /// <param name="graph">The graph object.</param>
 /// <param name="operName">Name of the operation.</param>
 public Optimizer(TFGraph graph, string operName)
 {
     _graph         = graph;
     _optimizerName = operName;
 }