|
|
@@ -28,6 +28,13 @@ namespace Tensorflow |
|
|
[DllImport(TensorFlowLibName)] |
|
|
[DllImport(TensorFlowLibName)] |
|
|
public static unsafe extern void TF_DeleteSessionOptions(IntPtr opts); |
|
|
public static unsafe extern void TF_DeleteSessionOptions(IntPtr opts); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
|
/// Delete a previously created status object. |
|
|
|
|
|
/// </summary> |
|
|
|
|
|
/// <param name="s"></param> |
|
|
|
|
|
[DllImport(TensorFlowLibName)] |
|
|
|
|
|
public static unsafe extern void TF_DeleteStatus(IntPtr s); |
|
|
|
|
|
|
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Destroy a tensor. |
|
|
/// Destroy a tensor. |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
@@ -59,6 +66,10 @@ namespace Tensorflow |
|
|
[DllImport(TensorFlowLibName)] |
|
|
[DllImport(TensorFlowLibName)] |
|
|
public static unsafe extern TF_OperationDescription TF_NewOperation(IntPtr graph, string opType, string oper_name); |
|
|
public static unsafe extern TF_OperationDescription TF_NewOperation(IntPtr graph, string opType, string oper_name); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
|
/// Return a new status object. |
|
|
|
|
|
/// </summary> |
|
|
|
|
|
/// <returns></returns> |
|
|
[DllImport(TensorFlowLibName)] |
|
|
[DllImport(TensorFlowLibName)] |
|
|
public static unsafe extern IntPtr TF_NewStatus(); |
|
|
public static unsafe extern IntPtr TF_NewStatus(); |
|
|
|
|
|
|
|
|
@@ -121,6 +132,9 @@ namespace Tensorflow |
|
|
[DllImport(TensorFlowLibName)] |
|
|
[DllImport(TensorFlowLibName)] |
|
|
public static extern unsafe void TF_SetAttrType(TF_OperationDescription desc, string attr_name, TF_DataType value); |
|
|
public static extern unsafe void TF_SetAttrType(TF_OperationDescription desc, string attr_name, TF_DataType value); |
|
|
|
|
|
|
|
|
|
|
|
[DllImport(TensorFlowLibName)] |
|
|
|
|
|
public static extern void TF_SetStatus(IntPtr s, TF_Code code, string msg); |
|
|
|
|
|
|
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Return the size of the underlying data in bytes. |
|
|
/// Return the size of the underlying data in bytes. |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
|