Skip to content

Commit

Permalink
Add test case check
Browse files Browse the repository at this point in the history
  • Loading branch information
koparasy committed Jun 4, 2024
1 parent 8292c53 commit 9c1f616
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/AMSlib/torch_model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ int main(int argc, char *argv[])
SurrogateModel<float>::getInstance(model_path, resource);
assert(!model->is_double());
inference<float>(*model, resource);
} else {
std::cout << "Unknown data type " << data_type << "\n";
return 1;
}

return 0;
Expand Down

0 comments on commit 9c1f616

Please sign in to comment.