You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fe76c9c
Browse filesBrowse the repository at this point in the historyBrowse files
public delegate IntPtr _gradient_function_callback(string op_name, int num_inputs, IntPtr op_inputs, int num_attrs, int num_outputs, IntPtr output_grads);
14
+
public delegate IntPtr _gradient_function_callback(string op_name,
15
+
int num_inputs,
16
+
IntPtr op_inputs,
17
+
int num_attrs,
18
+
int num_outputs,
19
+
IntPtr output_grads,
20
+
int num_skip_inputs,
21
+
IntPtr skip_input_indices);
22
+
23
+
[DllImport(TensorFlowLibName)]
24
+
public static extern IntPtr TFE_WrapGradientResult(IntPtr[] gradients, int num_gradients);
15
25
16
26
[DllImport(TensorFlowLibName)]
17
27
public static extern IntPtr VSpace_Handle(VSpace_callback_Ones ones, VSpace_callback_AggregateGrads aggregate_grads);
@@ -373,11 +383,17 @@ public static extern IntPtr TFE_QuickExecute(IntPtr ctx,
373
383
public static extern void TFE_TapeSetRemove(IntPtr tape);
374
384
375
385
[DllImport(TensorFlowLibName)]
376
-
public static extern void TFE_TapeWatch(IntPtr tape, IntPtr tensor);
386
+
public static extern void TFE_TapeWatch(IntPtr tape, IntPtr variable);
377
387
378
388
[DllImport(TensorFlowLibName)]
379
389
public static extern void TFE_TapeVariableAccessed(IntPtr variable);
380
-
390
+
391
+
[DllImport(TensorFlowLibName)]
392
+
public static extern IntPtr TFE_TapeWatchedVariables(IntPtr tape);
393
+
394
+
[DllImport(TensorFlowLibName)]
395
+
public static extern IntPtr ResourceVariable_Handle(IntPtr variable);
396
+
381
397
[DllImport(TensorFlowLibName)]
382
398
public static extern IntPtr TFE_TapeGradient(IntPtr tape,
0 commit comments