-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(//core/lowering): additional logging in module fallback
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
- Loading branch information
1 parent
b96087b
commit ad07645
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#include <iostream> | ||
#include <sstream> | ||
#include <utility> | ||
|
||
#include "core/lowering/lowering.h" | ||
|
||
namespace trtorch { | ||
namespace core { | ||
namespace lowering { | ||
|
||
std::ostream& operator<<(std::ostream& os, const LowerInfo& l) { | ||
os << "Settings requested for Lowering:" << std::endl; | ||
os << " Forced Fallback Modules: [" << std::endl; | ||
for (auto i : l.forced_fallback_modules) { | ||
os << " " << i << std::endl; | ||
} | ||
os << " ]"; | ||
return os; | ||
} | ||
|
||
} // namespace lowering | ||
} // namespace core | ||
} // namespace trtorch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters