Browse Source

change transpose parameter

tags/v0.9
Oceania2018 6 years ago
parent
commit
d21182e2a4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TensorFlowNET.Core/APIs/tf.array.cs

+ 1
- 1
src/TensorFlowNET.Core/APIs/tf.array.cs View File

@@ -28,7 +28,7 @@ namespace Tensorflow
/// <param name="name"></param> /// <param name="name"></param>
/// <param name="conjugate"></param> /// <param name="conjugate"></param>
/// <returns></returns> /// <returns></returns>
public static Tensor transpose<T1, T2>(T1 a, T2 perm, string name = "transpose", bool conjugate = false)
public static Tensor transpose<T1>(T1 a, int[] perm = null, string name = "transpose", bool conjugate = false)
=> array_ops.transpose(a, perm, name, conjugate); => array_ops.transpose(a, perm, name, conjugate);


public static Tensor squeeze(Tensor input, int[] axis = null, string name = null, int squeeze_dims = -1) public static Tensor squeeze(Tensor input, int[] axis = null, string name = null, int squeeze_dims = -1)


Loading…
Cancel
Save