File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ bool ModelImporter::supportsModel(
374374 std::vector<size_t > topological_order;
375375 if (!toposort (model.graph ().node (), &topological_order))
376376 {
377- cout << " Failed to sort model topologically, exiting ..." << endl ;
377+ LOG_ERROR ( " Failed to sort model topologically, exiting ..." ) ;
378378 return false ;
379379 }
380380
@@ -408,7 +408,7 @@ bool ModelImporter::supportsModel(
408408 }
409409 else
410410 {
411- std::cout << " Found unsupported node: " << tensorName << std::endl ;
411+ LOG_WARNING ( " Found unsupported node: " << tensorName) ;
412412 // This is not a supported node, reset newSubGraph
413413 newSubGraph = true ;
414414 allSupported = false ;
Original file line number Diff line number Diff line change 3939 do \
4040 { \
4141 std::stringstream ss{}; \
42- ss << __FILENAME__ << " :" << __LINE__ << " : " << msg; \
42+ ss << " [TRT] " << __FILENAME__ << " :" << __LINE__ << " : " << msg; \
4343 ctx->logger ().log (severity, ss.str ().c_str ()); \
4444 } while (0 )
4545
You can’t perform that action at this time.
0 commit comments