Skip to content

refactor: Removing some old std::couts used for debugging #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions core/conversion/converters/NodeConverterRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,6 @@ RegisterNodeConversionPatterns&& RegisterNodeConversionPatterns::pattern(Convers
RegisterNodeConversionPatterns::RegisterNodeConversionPatterns(RegisterNodeConversionPatterns&&) noexcept = default;
RegisterNodeConversionPatterns& RegisterNodeConversionPatterns::RegisterNodeConversionPatterns::operator=(RegisterNodeConversionPatterns&&) noexcept = default;

// RegisterNodeConversionPatterns::RegisterNodeConversionPatterns(std::vector<ConversionPattern> patterns) {
// for (auto p : patterns) {
// std::cout << "HELLO" << std::endl;
// util::logging::get_logger().log(util::logging::LogLevel::kDEBUG,
// "Registering Converter for " + p.signature);
// RegisterNodeConverter(p.signature, p.converter);
// }
// }

} // namespace converters
} // namespace conversion
} // namespace core
Expand Down
2 changes: 0 additions & 2 deletions core/conversion/converters/Weights.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ Weights::Weights(ConversionCtx* ctx, float val) {
ctx->builder_resources.push_back(buf);
this->kernel_shape.nbDims = 1;
this->kernel_shape.d[0] = 1;

std::cout << ((float*)this->data.values)[0] << std::endl;
}

Weights::Weights(ConversionCtx* ctx, at::Tensor t) {
Expand Down
1 change: 0 additions & 1 deletion core/execution/TRTEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ c10::FunctionSchema GenerateEngineFunctionSchema(EngineID id, nvinfer1::ICudaEng
std::stringstream in_ss;
std::stringstream out_ss;

std::cout << num_inputs << num_outputs << std::endl;
uint64_t inputs_parsed = 0;
uint64_t outputs_parsed = 0;
for (int i = 0; i < engine->getNbBindings(); i++) {
Expand Down