Browse Source

Fix the signature of TF_GetBuffer

tags/v0.20
Sam Harwell Haiping 5 years ago
parent
commit
947eef4c8e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TensorFlowNET.Core/Buffers/c_api.buffer.cs

+ 1
- 1
src/TensorFlowNET.Core/Buffers/c_api.buffer.cs View File

@@ -32,7 +32,7 @@ namespace Tensorflow
public static extern SafeBufferHandle TF_NewBuffer();

[DllImport(TensorFlowLibName)]
public static extern IntPtr TF_GetBuffer(TF_Buffer buffer);
public static extern TF_Buffer TF_GetBuffer(SafeBufferHandle buffer);

/// <summary>
/// Makes a copy of the input and sets an appropriate deallocator. Useful for


Loading…
Cancel
Save