From 49e0eca801532db98ae41434cfe07b16d49c988e Mon Sep 17 00:00:00 2001 From: Eli Belash Date: Thu, 29 Aug 2019 15:12:39 +0300 Subject: [PATCH] Buffer: Changed constructor to public --- src/TensorFlowNET.Core/Buffers/Buffer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TensorFlowNET.Core/Buffers/Buffer.cs b/src/TensorFlowNET.Core/Buffers/Buffer.cs index c08d3175..ad5dbc44 100644 --- a/src/TensorFlowNET.Core/Buffers/Buffer.cs +++ b/src/TensorFlowNET.Core/Buffers/Buffer.cs @@ -70,7 +70,7 @@ namespace Tensorflow public Buffer() => _handle = TF_NewBuffer(); - internal Buffer(IntPtr handle) + public Buffer(IntPtr handle) { if (handle == IntPtr.Zero) throw new ArgumentException("Handle (IntPtr) can't be zero.", nameof(handle));