A wrapper around std::stringstream to build error. include/tvm/ir/type.h Can be consumed by CompileError to construct an error.
More...
#include <error.h>
A wrapper around std::stringstream to build error. include/tvm/ir/type.h Can be consumed by CompileError to construct an error.
void Test(int number) {
ReportError(ErrorBuilder() << "This is an error number=" << number);
}
friend class CompileError
Definition: error.h:57
◆ operator<<()
template<typename T >
ErrorBuilder& tvm::relay::ErrorBuilder::operator<< |
( |
const T & |
val | ) |
|
|
inline |
◆ CompileError
The documentation for this struct was generated from the following file: