tvm
Classes | Namespaces | Functions | Variables
measure_record.h File Reference

Json serialization format for dumping and loading measurement records. More...

#include <tvm/auto_scheduler/measure.h>
#include <fstream>
#include <string>
#include <utility>
Include dependency graph for measure_record.h:

Go to the source code of this file.

Classes

class  tvm::auto_scheduler::RecordToFileNode
 Callback for logging the input and results of measurements to file. More...
 
class  tvm::auto_scheduler::RecordToFile
 Managed reference to RecordToFileNode. More...
 
class  tvm::auto_scheduler::RecordReaderNode
 Log reader to load step logs from a file. More...
 
class  tvm::auto_scheduler::RecordReader
 Managed reference to RecordReaderNode. More...
 

Namespaces

 tvm
 runtime implementation for LibTorch/TorchScript.
 
 tvm::auto_scheduler
 

Functions

void tvm::auto_scheduler::WriteMeasureRecords (std::ostream *os, const Array< MeasureInput > &inputs, const Array< MeasureResult > &results, const std::string log_version=AUTO_SCHEDULER_LOG_VERSION)
 Append measure records to an output stream. More...
 
void tvm::auto_scheduler::ReadMeasureRecord (const std::string &str, MeasureInputNode *inp, MeasureResultNode *res, std::string *log_version)
 Read one measure record from a string. More...
 

Variables

const std::string tvm::auto_scheduler::AUTO_SCHEDULER_LOG_VERSION = "v0.6"
 

Detailed Description

Json serialization format for dumping and loading measurement records.