Skip to content

Commit

Permalink
Format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayv25 committed Apr 18, 2024
1 parent d548ab2 commit 603d688
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libtorch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ ModelState::ParseParameters()
// is made to 'intra_op_thread_count', which by default will take all
// threads
int intra_op_thread_count = -1;
err = ParseParameter(
params, "INTRA_OP_THREAD_COUNT", &intra_op_thread_count);
err =
ParseParameter(params, "INTRA_OP_THREAD_COUNT", &intra_op_thread_count);
if (err != nullptr) {
if (TRITONSERVER_ErrorCode(err) != TRITONSERVER_ERROR_NOT_FOUND) {
return err;
Expand All @@ -500,8 +500,8 @@ ModelState::ParseParameters()
// is made to 'inter_op_thread_count', which by default will take all
// threads
int inter_op_thread_count = -1;
err = ParseParameter(
params, "INTER_OP_THREAD_COUNT", &inter_op_thread_count);
err =
ParseParameter(params, "INTER_OP_THREAD_COUNT", &inter_op_thread_count);
if (err != nullptr) {
if (TRITONSERVER_ErrorCode(err) != TRITONSERVER_ERROR_NOT_FOUND) {
return err;
Expand Down

0 comments on commit 603d688

Please sign in to comment.