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)