tvm
|
Classes | |
struct | CallFrame |
class | CountNode |
class | DeviceWrapper |
Wrapper for Device . More... | |
struct | DeviceWrapperNode |
Wrapper for Device because Device is not passable across the PackedFunc interface. More... | |
class | DurationNode |
class | MetricCollector |
Wrapper for MetricCollectorNode . More... | |
class | MetricCollectorNode |
Interface for user defined profiling metric collection. More... | |
class | PercentNode |
class | Profiler |
class | Report |
class | ReportNode |
Data collected from a profiling run. Includes per-call metrics and per-device metrics. More... | |
Functions | |
MetricCollector | CreatePAPIMetricCollector (Map< DeviceWrapper, Array< String >> metrics) |
Construct a metric collector that collects data from hardware performance counters using the Performance Application Programming Interface (PAPI). More... | |
String | ShapeString (const std::vector< NDArray > &shapes) |
String representation of an array of NDArray shapes. More... | |
String | ShapeString (NDArray shape, DLDataType dtype) |
String representation of shape encoded as an NDArray. More... | |
String | ShapeString (const std::vector< int64_t > &shape, DLDataType dtype) |
String representation of a shape encoded as a vector. More... | |
MetricCollector tvm::runtime::profiling::CreatePAPIMetricCollector | ( | Map< DeviceWrapper, Array< String >> | metrics | ) |
Construct a metric collector that collects data from hardware performance counters using the Performance Application Programming Interface (PAPI).
metrics | A mapping from a device type to the metrics that should be collected on that device. You can find the names of available metrics by running papi_native_avail . |
String tvm::runtime::profiling::ShapeString | ( | const std::vector< int64_t > & | shape, |
DLDataType | dtype | ||
) |
String representation of a shape encoded as a vector.
shape | Shape as a vector of integers. |
dtype | The dtype of the shape. |
float32[2]
.