@@ -59,7 +59,7 @@ public partial class c_api
5959 /// <param name="status">TF_Status*</param>
6060 /// <returns></returns>
6161 [ DllImport ( TensorFlowLibName ) ]
62- public static extern TF_AttrType TFE_OpGetAttrType ( SafeOpHandle op , string attr_name , ref byte is_list , SafeStatusHandle status ) ;
62+ public static extern TF_AttrType TFE_OpGetAttrType ( SafeEagerOpHandle op , string attr_name , ref byte is_list , SafeStatusHandle status ) ;
6363
6464 [ DllImport ( TensorFlowLibName ) ]
6565 public static extern TF_AttrType TFE_OpNameGetAttrType ( SafeContextHandle ctx , string op_or_function_name , string attr_name , ref byte is_list , SafeStatusHandle status ) ;
@@ -72,7 +72,7 @@ public partial class c_api
7272 /// <param name="input_name">const char*</param>
7373 /// <param name="status">TF_Status*</param>
7474 [ DllImport ( TensorFlowLibName ) ]
75- public static extern int TFE_OpGetInputLength ( SafeOpHandle op , string input_name , SafeStatusHandle status ) ;
75+ public static extern int TFE_OpGetInputLength ( SafeEagerOpHandle op , string input_name , SafeStatusHandle status ) ;
7676
7777 /// <summary>
7878 /// Returns the length (number of tensors) of the output argument `output_name`
@@ -83,7 +83,7 @@ public partial class c_api
8383 /// <param name="status"></param>
8484 /// <returns></returns>
8585 [ DllImport ( TensorFlowLibName ) ]
86- public static extern int TFE_OpGetOutputLength ( SafeOpHandle op , string input_name , SafeStatusHandle status ) ;
86+ public static extern int TFE_OpGetOutputLength ( SafeEagerOpHandle op , string input_name , SafeStatusHandle status ) ;
8787
8888 /// <summary>
8989 ///
@@ -94,7 +94,7 @@ public partial class c_api
9494 /// <param name="status">TF_Status*</param>
9595 /// <returns></returns>
9696 [ DllImport ( TensorFlowLibName ) ]
97- public static extern int TFE_OpAddInputList ( SafeOpHandle op , [ In , MarshalAs ( UnmanagedType . CustomMarshaler , MarshalTypeRef = typeof ( SafeHandleArrayMarshaler ) ) ] SafeTensorHandleHandle [ ] inputs , int num_inputs , SafeStatusHandle status ) ;
97+ public static extern int TFE_OpAddInputList ( SafeEagerOpHandle op , [ In , MarshalAs ( UnmanagedType . CustomMarshaler , MarshalTypeRef = typeof ( SafeHandleArrayMarshaler ) ) ] SafeTensorHandleHandle [ ] inputs , int num_inputs , SafeStatusHandle status ) ;
9898
9999 /// <summary>
100100 ///
@@ -161,7 +161,7 @@ public partial class c_api
161161 /// <param name="retvals"></param>
162162 /// <param name="num_retvals"></param>
163163 /// <param name="status"></param>
164- public static void TFE_Execute ( SafeOpHandle op , SafeTensorHandleHandle [ ] retvals , out int num_retvals , SafeStatusHandle status )
164+ public static void TFE_Execute ( SafeEagerOpHandle op , SafeTensorHandleHandle [ ] retvals , out int num_retvals , SafeStatusHandle status )
165165 {
166166 unsafe
167167 {
@@ -187,7 +187,7 @@ public static void TFE_Execute(SafeOpHandle op, SafeTensorHandleHandle[] retvals
187187 /// <param name="num_retvals">int*</param>
188188 /// <param name="status">TF_Status*</param>
189189 [ DllImport ( TensorFlowLibName ) ]
190- private static unsafe extern void TFE_Execute ( SafeOpHandle op , IntPtr * retvals , ref int num_retvals , SafeStatusHandle status ) ;
190+ private static unsafe extern void TFE_Execute ( SafeEagerOpHandle op , IntPtr * retvals , ref int num_retvals , SafeStatusHandle status ) ;
191191
192192 /// <summary>
193193 ///
@@ -197,7 +197,7 @@ public static void TFE_Execute(SafeOpHandle op, SafeTensorHandleHandle[] retvals
197197 /// <param name="status">TF_Status*</param>
198198 /// <returns></returns>
199199 [ DllImport ( TensorFlowLibName ) ]
200- public static extern SafeOpHandle TFE_NewOp ( SafeContextHandle ctx , string op_or_function_name , SafeStatusHandle status ) ;
200+ public static extern SafeEagerOpHandle TFE_NewOp ( SafeContextHandle ctx , string op_or_function_name , SafeStatusHandle status ) ;
201201
202202 /// <summary>
203203 /// Resets `op_to_reset` with `op_or_function_name` and `raw_device_name`. This
@@ -213,7 +213,7 @@ public static void TFE_Execute(SafeOpHandle op, SafeTensorHandleHandle[] retvals
213213 /// <param name="raw_device_name">const char*</param>
214214 /// <param name="status">TF_Status*</param>
215215 [ DllImport ( TensorFlowLibName ) ]
216- public static extern void TFE_OpReset ( SafeOpHandle op_to_reset , string op_or_function_name , string raw_device_name , SafeStatusHandle status ) ;
216+ public static extern void TFE_OpReset ( SafeEagerOpHandle op_to_reset , string op_or_function_name , string raw_device_name , SafeStatusHandle status ) ;
217217
218218 /// <summary>
219219 ///
@@ -229,13 +229,13 @@ public static void TFE_Execute(SafeOpHandle op, SafeTensorHandleHandle[] retvals
229229 /// <param name="attr_name">const char*</param>
230230 /// <param name="value">TF_DataType</param>
231231 [ DllImport ( TensorFlowLibName ) ]
232- public static extern void TFE_OpSetAttrType ( SafeOpHandle op , string attr_name , TF_DataType value ) ;
232+ public static extern void TFE_OpSetAttrType ( SafeEagerOpHandle op , string attr_name , TF_DataType value ) ;
233233
234234 [ DllImport ( TensorFlowLibName ) ]
235- public static extern void TFE_OpSetAttrInt ( SafeOpHandle op , string attr_name , long value ) ;
235+ public static extern void TFE_OpSetAttrInt ( SafeEagerOpHandle op , string attr_name , long value ) ;
236236
237237 [ DllImport ( TensorFlowLibName ) ]
238- public static extern void TFE_OpSetAttrFloat ( SafeOpHandle op , string attr_name , float value ) ;
238+ public static extern void TFE_OpSetAttrFloat ( SafeEagerOpHandle op , string attr_name , float value ) ;
239239
240240 /// <summary>
241241 ///
@@ -246,19 +246,19 @@ public static void TFE_Execute(SafeOpHandle op, SafeTensorHandleHandle[] retvals
246246 /// <param name="num_dims">const int</param>
247247 /// <param name="out_status">TF_Status*</param>
248248 [ DllImport ( TensorFlowLibName ) ]
249- public static extern void TFE_OpSetAttrShape ( SafeOpHandle op , string attr_name , long [ ] dims , int num_dims , SafeStatusHandle out_status ) ;
249+ public static extern void TFE_OpSetAttrShape ( SafeEagerOpHandle op , string attr_name , long [ ] dims , int num_dims , SafeStatusHandle out_status ) ;
250250
251251 [ DllImport ( TensorFlowLibName ) ]
252- public static extern void TFE_OpSetAttrShapeList ( SafeOpHandle op , string attr_name , IntPtr [ ] dims , int [ ] num_dims , int num_values , SafeStatusHandle out_status ) ;
252+ public static extern void TFE_OpSetAttrShapeList ( SafeEagerOpHandle op , string attr_name , IntPtr [ ] dims , int [ ] num_dims , int num_values , SafeStatusHandle out_status ) ;
253253
254254 [ DllImport ( TensorFlowLibName ) ]
255- public static extern void TFE_OpSetAttrStringList ( SafeOpHandle op , string attr_name , string [ ] values , ulong [ ] lengths , int num_values ) ;
255+ public static extern void TFE_OpSetAttrStringList ( SafeEagerOpHandle op , string attr_name , string [ ] values , ulong [ ] lengths , int num_values ) ;
256256
257257 [ DllImport ( TensorFlowLibName ) ]
258- public static extern void TFE_OpSetAttrBool ( SafeOpHandle op , string attr_name , bool value ) ;
258+ public static extern void TFE_OpSetAttrBool ( SafeEagerOpHandle op , string attr_name , bool value ) ;
259259
260260 [ DllImport ( TensorFlowLibName ) ]
261- public static extern void TFE_OpSetAttrFunctionName ( SafeOpHandle op , string attr_name , string data , int length ) ;
261+ public static extern void TFE_OpSetAttrFunctionName ( SafeEagerOpHandle op , string attr_name , string data , int length ) ;
262262
263263 /// <summary>
264264 ///
@@ -268,16 +268,16 @@ public static void TFE_Execute(SafeOpHandle op, SafeTensorHandleHandle[] retvals
268268 /// <param name="value">const void*</param>
269269 /// <param name="length">size_t</param>
270270 [ DllImport ( TensorFlowLibName ) ]
271- public static extern void TFE_OpSetAttrString ( SafeOpHandle op , string attr_name , string value , ulong length ) ;
271+ public static extern void TFE_OpSetAttrString ( SafeEagerOpHandle op , string attr_name , string value , ulong length ) ;
272272
273273 [ DllImport ( TensorFlowLibName ) ]
274- public static extern void TFE_OpSetAttrTypeList ( SafeOpHandle op , string attr_name , TF_DataType [ ] values , int num_values ) ;
274+ public static extern void TFE_OpSetAttrTypeList ( SafeEagerOpHandle op , string attr_name , TF_DataType [ ] values , int num_values ) ;
275275
276276 [ DllImport ( TensorFlowLibName ) ]
277- public static extern void TFE_OpSetAttrIntList ( SafeOpHandle op , string attr_name , long [ ] values , int num_values ) ;
277+ public static extern void TFE_OpSetAttrIntList ( SafeEagerOpHandle op , string attr_name , long [ ] values , int num_values ) ;
278278
279279 [ DllImport ( TensorFlowLibName ) ]
280- public static extern void TFE_OpSetAttrValueProto ( SafeOpHandle op , string attr_name , IMessage [ ] proto , int proto_len , SafeStatusHandle status ) ;
280+ public static extern void TFE_OpSetAttrValueProto ( SafeEagerOpHandle op , string attr_name , IMessage [ ] proto , int proto_len , SafeStatusHandle status ) ;
281281
282282 /// <summary>
283283 ///
@@ -286,7 +286,7 @@ public static void TFE_Execute(SafeOpHandle op, SafeTensorHandleHandle[] retvals
286286 /// <param name="device_name"></param>
287287 /// <param name="status"></param>
288288 [ DllImport ( TensorFlowLibName ) ]
289- public static extern void TFE_OpSetDevice ( SafeOpHandle op , string device_name , SafeStatusHandle status ) ;
289+ public static extern void TFE_OpSetDevice ( SafeEagerOpHandle op , string device_name , SafeStatusHandle status ) ;
290290
291291 /// <summary>
292292 ///
@@ -295,7 +295,7 @@ public static void TFE_Execute(SafeOpHandle op, SafeTensorHandleHandle[] retvals
295295 /// <param name="h">TFE_TensorHandle*</param>
296296 /// <param name="status">TF_Status*</param>
297297 [ DllImport ( TensorFlowLibName ) ]
298- public static extern void TFE_OpAddInput ( SafeOpHandle op , SafeTensorHandleHandle h , SafeStatusHandle status ) ;
298+ public static extern void TFE_OpAddInput ( SafeEagerOpHandle op , SafeTensorHandleHandle h , SafeStatusHandle status ) ;
299299
300300 /// <summary>
301301 ///
0 commit comments