|
|
@@ -71,7 +71,7 @@ namespace Tensorflow |
|
|
|
/// <param name="deallocator_arg"></param> |
|
|
|
/// <returns></returns> |
|
|
|
[DllImport(TensorFlowLibName)] |
|
|
|
public static extern IntPtr TF_NewTensor(TF_DataType dataType, long[] dims, int num_dims, IntPtr data, UIntPtr len, Deallocator deallocator, ref bool deallocator_arg); |
|
|
|
public static extern IntPtr TF_NewTensor(TF_DataType dataType, long[] dims, int num_dims, IntPtr data, UIntPtr len, Deallocator deallocator, ref DeallocatorArgs deallocator_arg); |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Return the number of dimensions that the tensor has. |
|
|
|