Skip to content

Commit cb63366

Browse files
committed
Format
1 parent baf15d4 commit cb63366

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/backends/tensorflow.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,7 @@ RAI_Model *RAI_ModelCreateTF(RAI_Backend backend, const char *devicestr, RAI_Mod
423423
uint8_t proto[] = {0x10, (uint8_t)opts.backends_intra_op_parallelism};
424424
TFE_ContextOptionsSetConfig(context_opts, proto, sizeof(proto), status);
425425
if (TF_GetCode(status) != TF_OK) {
426-
RAI_SetError(error, RAI_EMODELCONFIGURE,
427-
RedisModule_Strdup(TF_Message(status)));
426+
RAI_SetError(error, RAI_EMODELCONFIGURE, RedisModule_Strdup(TF_Message(status)));
428427
goto cleanup;
429428
}
430429
}
@@ -433,8 +432,7 @@ RAI_Model *RAI_ModelCreateTF(RAI_Backend backend, const char *devicestr, RAI_Mod
433432
uint8_t proto1[] = {0x28, (uint8_t)opts.backends_inter_op_parallelism};
434433
TFE_ContextOptionsSetConfig(context_opts, proto1, sizeof(proto1), status);
435434
if (TF_GetCode(status) != TF_OK) {
436-
RAI_SetError(error, RAI_EMODELCONFIGURE,
437-
RedisModule_Strdup(TF_Message(status)));
435+
RAI_SetError(error, RAI_EMODELCONFIGURE, RedisModule_Strdup(TF_Message(status)));
438436
goto cleanup;
439437
}
440438
}

0 commit comments

Comments
 (0)