コード例 #1
0
 /// <summary>
 /// Operation will only be added to graph when FinishOperation() is
 /// called (assuming FinishOperation() does not return an error).
 /// Graph must not be deleted until after FinishOperation() is
 /// called.
 /// </summary>
 /// <param name="opType">The operation type</param>
 /// <param name="opName">The name of the operation</param>
 /// <returns>A new operation description</returns>
 public OperationDescription NewOperation(String opType, String opName)
 {
     return(new OperationDescription(TfInvoke.tfeNewOperation(_ptr, opType, opName)));
 }