Skip to content

Commit f1e61ec

Browse files
committed
Format
1 parent 625bb0f commit f1e61ec

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/backends/tensorflow.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -298,20 +298,20 @@ RAI_Model *RAI_ModelCreateTF(RAI_Backend backend, const char *devicestr, RAI_Mod
298298
tf_outputs[i] = port;
299299
}
300300

301-
TF_Function *function = TF_GraphToFunction(
302-
graph, // fn_body
303-
RAI_TF_FN_NAME, 0, // fn_name, append_hash_to_fn_name,
304-
-1, NULL, // num_opers, opers
305-
ninputs, tf_inputs, // ninputs, inputs,
306-
noutputs, tf_outputs, // noutputs, outputs
307-
outputs, // output_names,
308-
NULL, // opts
309-
"", // description
310-
status // status
301+
TF_Function *function =
302+
TF_GraphToFunction(graph, // fn_body
303+
RAI_TF_FN_NAME, 0, // fn_name, append_hash_to_fn_name,
304+
-1, NULL, // num_opers, opers
305+
ninputs, tf_inputs, // ninputs, inputs,
306+
noutputs, tf_outputs, // noutputs, outputs
307+
outputs, // output_names,
308+
opts, // opts
309+
"", // description
310+
status // status
311311
);
312312
// TODO EAGER
313313
// check status and return error
314-
314+
315315
TFE_ContextOptions *context_opts = TFE_NewContextOptions();
316316
// TFE_ContextOptionsSetConfig(context_opts, proto, proto_len, status);
317317
// TFE_ContextOptionsSetAsync(context_opts, 0);
@@ -320,11 +320,11 @@ RAI_Model *RAI_ModelCreateTF(RAI_Backend backend, const char *devicestr, RAI_Mod
320320
TFE_Context *context = TFE_NewContext(context_opts, status);
321321
// TODO EAGER
322322
// check status and return error
323-
323+
324324
TFE_ContextAddFunction(context, function, status);
325325
// TODO EAGER
326326
// check status and return error
327-
327+
328328
TFE_DeleteContextOptions(context_opts);
329329
TFE_DeleteContext(context);
330330

0 commit comments

Comments
 (0)