24 #ifndef TVM_RUNTIME_DEBUG_H_
25 #define TVM_RUNTIME_DEBUG_H_
43 bool show_content =
true);
44 void AppendADT(std::ostream& os,
const ADT& adt,
const DLDevice& host_device,
45 bool show_content =
true);
47 bool show_content =
true);
49 bool show_content =
true);
reference to algebraic data type objects.
Definition: adt.h:78
Managed NDArray. The array is backed by reference counted blocks.
Definition: ndarray.h:51
Base class of all object reference.
Definition: object.h:519
void AppendADT(std::ostream &os, const ADT &adt, const DLDevice &host_device, bool show_content=true)
void AppendRuntimeObject(std::ostream &os, const ObjectRef &object, const DLDevice &host_device, bool show_content=true)
std::string RuntimeObject2String(const ObjectRef &object, const DLDevice &host_device, bool show_content=true)
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...
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
A device-independent managed NDArray abstraction.
Runtime ADT container types.