TVM  0.9.4
tvm::graph::internal::Log::Pointer Struct Reference

#include <tvm/graph/internal/Log.h>

Public Member Functions

template<typename T >
 Pointer (T *p)
 
 Pointer (const std::type_index &t, std::uintptr_t v)
 
bool operator< (const Pointer &other) const
 
bool operator== (const Pointer &other) const
 

Public Attributes

std::type_index type
 
std::uintptr_t value
 

Detailed Description

A type-independent representation of a pointer as a pair (type, address).

Constructor & Destructor Documentation

◆ Pointer() [1/2]

template<typename T >
tvm::graph::internal::Log::Pointer::Pointer ( T *  p)
inline

Build from an pointer

◆ Pointer() [2/2]

tvm::graph::internal::Log::Pointer::Pointer ( const std::type_index &  t,
std::uintptr_t  v 
)
inline

Build from a pair (type, address).

Member Function Documentation

◆ operator<()

bool tvm::graph::internal::Log::Pointer::operator< ( const Pointer other) const
inline

◆ operator==()

bool tvm::graph::internal::Log::Pointer::operator== ( const Pointer other) const
inline

Member Data Documentation

◆ type

std::type_index tvm::graph::internal::Log::Pointer::type

◆ value

std::uintptr_t tvm::graph::internal::Log::Pointer::value

The documentation for this struct was generated from the following file: