@@ -297,20 +297,20 @@ RAI_Model *RAI_ModelCreateTF(RAI_Backend backend, const char *devicestr, RAI_Mod
297297 tf_outputs [i ] = port ;
298298 }
299299
300- TF_Function * function = TF_GraphToFunction (
301- graph , // fn_body
302- RAI_TF_FN_NAME , 0 , // fn_name, append_hash_to_fn_name,
303- -1 , NULL , // num_opers, opers
304- ninputs , tf_inputs , // ninputs, inputs,
305- noutputs , tf_outputs , // noutputs, outputs
306- outputs , // output_names,
307- NULL , // opts
308- "" , // description
309- status // status
300+ TF_Function * function =
301+ TF_GraphToFunction ( graph , // fn_body
302+ RAI_TF_FN_NAME , 0 , // fn_name, append_hash_to_fn_name,
303+ -1 , NULL , // num_opers, opers
304+ ninputs , tf_inputs , // ninputs, inputs,
305+ noutputs , tf_outputs , // noutputs, outputs
306+ outputs , // output_names,
307+ opts , // opts
308+ "" , // description
309+ status // status
310310 );
311311 // TODO EAGER
312312 // check status and return error
313-
313+
314314 TFE_ContextOptions * context_opts = TFE_NewContextOptions ();
315315 // TFE_ContextOptionsSetConfig(context_opts, proto, proto_len, status);
316316 // TFE_ContextOptionsSetAsync(context_opts, 0);
@@ -319,11 +319,11 @@ RAI_Model *RAI_ModelCreateTF(RAI_Backend backend, const char *devicestr, RAI_Mod
319319 TFE_Context * context = TFE_NewContext (context_opts , status );
320320 // TODO EAGER
321321 // check status and return error
322-
322+
323323 TFE_ContextAddFunction (context , function , status );
324324 // TODO EAGER
325325 // check status and return error
326-
326+
327327 TFE_DeleteContextOptions (context_opts );
328328 TFE_DeleteContext (context );
329329
0 commit comments