tvm
|
Traced wrapper for basic values (i.e. non-TVM objects) More...
#include <traced_object.h>
Public Member Functions | |
TracedBasicValue (const T &value, ObjectPath path) | |
const T & | Get () const |
Access the wrapped value. More... | |
const ObjectPath & | GetPath () const |
Get the path of the wrapped value. More... | |
template<typename F > | |
detail::TracedObjectWrapperSelector< typename std::invoke_result< F, const T & >::type >::Type | ApplyFunc (F &&f) const |
Transform the wrapped value without changing its path. More... | |
Traced wrapper for basic values (i.e. non-TVM objects)
|
inlineexplicit |
|
inline |
Transform the wrapped value without changing its path.
|
inline |
Access the wrapped value.
|
inline |
Get the path of the wrapped value.