Skip to content

Commit

Permalink
fix(//cpp/trtorchc): Refactor trtorchc to use new C++ API
Browse files Browse the repository at this point in the history
Addresses issue #132

Signed-off-by: Naren Dasan <naren@narendasan.com>
Signed-off-by: Naren Dasan <narens@nvidia.com>
  • Loading branch information
narendasan committed Jul 16, 2020
1 parent 8f94e08 commit 789e1be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/trtorchc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
#include "third_party/args/args.hpp"
#include "torch/torch.h"
#include "torch/script.h"

#include "trtorch/logging.h"
#include "trtorch/trtorch.h"
#include "trtorch/ptq.h"

bool checkRtol(const at::Tensor& diff, const std::vector<at::Tensor> inputs, float threshold) {
double maxValue = 0.0;
Expand Down

0 comments on commit 789e1be

Please sign in to comment.