Browse Source

add TF_UpdateEdge interface

tags/v0.9
Oceania2018 6 years ago
parent
commit
949ab3e239
2 changed files with 11 additions and 0 deletions
  1. +11
    -0
      src/TensorFlowNET.Core/Graphs/c_api.graph.cs
  2. BIN
      tensorflowlib/runtimes/win-x64/native/tensorflow.dll

+ 11
- 0
src/TensorFlowNET.Core/Graphs/c_api.graph.cs View File

@@ -278,5 +278,16 @@ namespace Tensorflow


[DllImport(TensorFlowLibName)] [DllImport(TensorFlowLibName)]
public static extern IntPtr TF_NewImportGraphDefOptions(); public static extern IntPtr TF_NewImportGraphDefOptions();

/// <summary>
/// Updates 'dst' to consume 'new_src'.
/// </summary>
/// <param name="graph">TF_Graph*</param>
/// <param name="new_src"></param>
/// <param name="dst"></param>
/// <param name="status">TF_Status*</param>
[DllImport(TensorFlowLibName)]
public static extern void TF_UpdateEdge(IntPtr graph, TF_Output new_src, TF_Input dst, IntPtr status);
} }
} }

BIN
tensorflowlib/runtimes/win-x64/native/tensorflow.dll View File


Loading…
Cancel
Save