Skip to content

Commit 947eef4

Browse files
sharwellOceania2018
authored andcommitted
Fix the signature of TF_GetBuffer
1 parent caae2db commit 947eef4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/TensorFlowNET.Core/Buffers/c_api.buffer.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public partial class c_api
3232
public static extern SafeBufferHandle TF_NewBuffer();
3333

3434
[DllImport(TensorFlowLibName)]
35-
public static extern IntPtr TF_GetBuffer(TF_Buffer buffer);
35+
public static extern TF_Buffer TF_GetBuffer(SafeBufferHandle buffer);
3636

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

0 commit comments

Comments
 (0)