tvm
Classes | Namespaces | Macros
script_printer.h File Reference
#include <tvm/node/functor.h>
#include <tvm/node/object_path.h>
#include <tvm/node/reflection.h>
#include <tvm/runtime/data_type.h>
#include <iostream>
#include <string>
Include dependency graph for script_printer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tvm::PrinterConfigNode
 
class  tvm::PrinterConfig
 
class  tvm::TVMScriptPrinter
 Legacy behavior of ReprPrinter. More...
 

Namespaces

 tvm
 runtime implementation for LibTorch/TorchScript.
 

Macros

#define TVM_OBJECT_ENABLE_SCRIPT_PRINTER()
 

Macro Definition Documentation

◆ TVM_OBJECT_ENABLE_SCRIPT_PRINTER

#define TVM_OBJECT_ENABLE_SCRIPT_PRINTER ( )
Value:
std::string Script(const Optional<PrinterConfig>& config = NullOpt) const { \
return TVMScriptPrinter::Script(GetRef<ObjectRef>(this), config.value_or(PrinterConfig())); \
}
constexpr runtime::NullOptType NullOpt
Definition: optional.h:169