MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
log_reader.py File Reference

Reader for training log. More...

Go to the source code of this file.

Classes

class  compilerinterface.log_reader.TensorSpec
 
class  compilerinterface.log_reader.TensorValue
 

Namespaces

namespace  compilerinterface
 
namespace  compilerinterface.log_reader
 

Functions

TensorValue compilerinterface.log_reader.read_tensor (io.BufferedReader fs, TensorSpec ts)
 
 compilerinterface.log_reader.pretty_print_tensor_value (TensorValue tv)
 
 compilerinterface.log_reader.read_header (io.BufferedReader f)
 
 compilerinterface.log_reader.read_one_observation (Optional[str] context, str event_str, io.BufferedReader f, List[TensorSpec] tensor_specs, Optional[TensorSpec] score_spec)
 
 compilerinterface.log_reader.read_stream (str fname)
 
 compilerinterface.log_reader.read_stream2 (io.BufferedReader f)
 
 compilerinterface.log_reader.main (args)
 

Variables

dict compilerinterface.log_reader._element_types
 

Detailed Description

Reader for training log.

Used by Pipe compiler interface with bitstream data.


Definition in file log_reader.py.