示例#1
0
 /// <summary>
 /// Set any imported nodes with input <paramref name="srcName"/>:<paramref name="srcIndex"/> to have that input
 /// replaced with <paramref name="dst"/>.
 /// </summary>
 /// <param name="srcName">Refers to a node in the graph to be imported</param>
 /// <param name="srcIndex">The source node index.</param>
 /// <param name="dst">References a node already existing in the graph being imported into</param>
 public void AddInputMapping(String srcName, int srcIndex, Output dst)
 {
     TfInvoke.tfeImportGraphDefOptionsAddInputMapping(
         _ptr,
         srcName,
         srcIndex,
         dst.Operation,
         dst.Index);
 }