From d21182e2a4056b353e04cdd545b43bde6c3bf3cb Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Mon, 15 Apr 2019 20:53:41 -0500 Subject: [PATCH] change transpose parameter --- src/TensorFlowNET.Core/APIs/tf.array.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TensorFlowNET.Core/APIs/tf.array.cs b/src/TensorFlowNET.Core/APIs/tf.array.cs index a0fb3c72..4f0edf8f 100644 --- a/src/TensorFlowNET.Core/APIs/tf.array.cs +++ b/src/TensorFlowNET.Core/APIs/tf.array.cs @@ -28,7 +28,7 @@ namespace Tensorflow /// /// /// - public static Tensor transpose(T1 a, T2 perm, string name = "transpose", bool conjugate = false) + public static Tensor transpose(T1 a, int[] perm = null, string name = "transpose", bool conjugate = false) => array_ops.transpose(a, perm, name, conjugate); public static Tensor squeeze(Tensor input, int[] axis = null, string name = null, int squeeze_dims = -1)