24 #ifndef TVM_RUNTIME_DEBUG_H_ 25 #define TVM_RUNTIME_DEBUG_H_ 42 void AppendNDArray(std::ostream& os,
const NDArray& nd_array,
const DLDevice& host_device,
43 bool show_content =
true);
44 void AppendADT(std::ostream& os,
const ADT& adt,
const DLDevice& host_device,
45 bool show_content =
true);
46 void AppendRuntimeObject(std::ostream& os,
const ObjectRef&
object,
const DLDevice& host_device,
47 bool show_content =
true);
49 bool show_content =
true);
54 #endif // TVM_RUNTIME_DEBUG_H_ runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
void AppendNDArray(std::ostream &os, const NDArray &nd_array, const DLDevice &host_device, bool show_content=true)
Helpers to describe runtime objects in human-friendly form. For nd_arrays we show their shapes and dt...
A device-independent managed NDArray abstraction.
std::string RuntimeObject2String(const ObjectRef &object, const DLDevice &host_device, bool show_content=true)
void AppendRuntimeObject(std::ostream &os, const ObjectRef &object, const DLDevice &host_device, bool show_content=true)
Runtime ADT container types.
void AppendADT(std::ostream &os, const ADT &adt, const DLDevice &host_device, bool show_content=true)